Raised This Month: $51 Target: $400
 12% 

Find out if its 4 or less persons left ingame


Post New Thread Reply   
 
Thread Tools Display Modes
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 06-23-2005 , 04:56  
Reply With Quote #21

Hehehe
Im sorry too

Ok, when giving godmode, you still get fall damage.

When removing hitzones you can still knife.
Simplysped got knife only, so then we're back to the start again.

I was thinking of just check when a player took damage, then give him it back again, but that would be a little buggy?

I talked with him yesterday with many examples, and he say's that its ok to make a plugin, like when you attack, the damage goes to yourself instead, then people would understand to not attack.
(Untill its 4 people left alive as he wants)

So what you think?

--------------------------

We could just block the attack commands
But simplysped wants to still be able to use the weapons
XunTric is offline
mobytoss
Senior Member
Join Date: Jun 2004
Location: On my TS server
Old 06-23-2005 , 05:44  
Reply With Quote #22

I dont see why you dont just use god mode :S Anyway, if you catch the damage event, you could just get the damage, give that much HP back to the victim, and take that much off the attacker.
__________________
"As we know, There are known knowns. There are things we know we know. We also know There are known unknowns. That is to say We know there are some things We do not know. But there are also unknown unknowns, The ones we don't know We don't know."
mobytoss is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-23-2005 , 06:26  
Reply With Quote #23

Or if there's no attacker, and the person falls, then kill him..
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 06-23-2005 , 06:45  
Reply With Quote #24

Ok so like
Code:
new attacker = read_data(1) new victim = read_data(2)

But how to do I find out how much damage the attacker did?
XunTric is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 06-23-2005 , 06:46  
Reply With Quote #25

check his hp....and 100 - his hp will be the dmg I think, but I think there is a special function for that...
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 06-23-2005 , 06:47  
Reply With Quote #26

What if he gets attacked when he had 80 hp...
(If he had a fall before he got attacked or something)
Then its not 100 - his current hp?
XunTric is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 06-23-2005 , 06:50  
Reply With Quote #27

how can he get 80 hp then you allways give him back his hp?
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 06-23-2005 , 06:52  
Reply With Quote #28

We dont give his hp back when its no attacker, like when he take fall damage.

So lets say, i felt down somewhere on a surf map, and loose 30 hp, and then you attack me, when I had 70 hp, so to find out how much damage you did to me, it cant be 100 - my current hp...

Thats the whole point...
If he didnt care about fall damage, we could just set godmode on everyone.
XunTric is offline
mobytoss
Senior Member
Join Date: Jun 2004
Location: On my TS server
Old 06-23-2005 , 07:40  
Reply With Quote #29

ya wanna get his HP then subtract the damage the player recieved ^^

oh, and when you say fall damage, do you mean the damage ent that kills them just incase they survive or actually falling too far?
__________________
"As we know, There are known knowns. There are things we know we know. We also know There are known unknowns. That is to say We know there are some things We do not know. But there are also unknown unknowns, The ones we don't know We don't know."
mobytoss is offline
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 06-23-2005 , 09:39  
Reply With Quote #30

Falling too far
XunTric is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode