Raised This Month: $ Target: $400
 0% 

Plugin Not Working on Linux?


Post New Thread Reply   
 
Thread Tools Display Modes
anwari
Junior Member
Join Date: Apr 2007
Old 04-18-2007 , 00:03   Re: Plugin Not Working on Linux?
Reply With Quote #21

Ya i tried different timming, still allies or axis dont drop nades when they die, other then that everything else works fine, the Fx, press key to drop a nade. But it just doesnt drop nades when you die.
anwari is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-18-2007 , 00:11   Re: Plugin Not Working on Linux?
Reply With Quote #22

Quote:
Originally Posted by anwari View Post
Ya i tried different timming, still allies or axis dont drop nades when they die, other then that everything else works fine, the Fx, press key to drop a nade. But it just doesnt drop nades when you die.
I'll look to that when I have a chance maybe later tonight.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 04-19-2007 , 23:43   Re: Plugin Not Working on Linux?
Reply With Quote #23

Quote:
Originally Posted by teame06 View Post
Also you can instead of hooking think. You can let the engine remove it for you ( I think this should work since the next think of the entity is get_gametime() + x seconds.

Code:
 
//under
set_pev( ent, pev_nextthink, get_stay_time() );
//add
set_pev(ent, pev_flags, pev(ent, pev_flags) |= FL_KILLME);
Then the engine will remove it when it time. and remove the Think forward
I'm pretty sure that will kill it right away.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
anwari
Junior Member
Join Date: Apr 2007
Old 04-21-2007 , 09:23   Re: Plugin Not Working on Linux?
Reply With Quote #24

Don't Tell me your forgot about this Team06. You said that night and not a work yet lol.
anwari is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-21-2007 , 16:43   Re: Plugin Not Working on Linux?
Reply With Quote #25

Quote:
Originally Posted by anwari View Post
Don't Tell me your forgot about this Team06. You said that night and not a work yet lol.
Quote:
Originally Posted by teame06 View Post
I'll look to that when I have a chance maybe later tonight.
What part of maybe don't you understand. When I do have a chance i'll look into it. I havn't had time and I found that that the private data of the player is cleared out on death so you can't get the grenade the person has left. So till I have time and figure out another way to deal with this I will.

I do not play DoD at all so I'm doing this of my own free time.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
anwari
Junior Member
Join Date: Apr 2007
Old 04-21-2007 , 17:44   Re: Plugin Not Working on Linux?
Reply With Quote #26

Hey sry i didnt meant it that way, i thougt u forgot about this haha take your time I was making sure that you were still on this
anwari is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-23-2007 , 15:17   Re: Plugin Not Working on Linux?
Reply With Quote #27

Fixed and tested on LINUX for grenades dropped on death.

I change alot of things in the code. Some code I did not understand the reason for it being there. So I rewrote understanding that it was not necessary to be there.
__________________
No private support via Instant Message
GunGame:SM Released

Last edited by teame06; 04-23-2007 at 15:48.
teame06 is offline
Send a message via AIM to teame06
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 04-25-2007 , 20:57   Re: Plugin Not Working on Linux?
Reply With Quote #28

Try THIS ONE. I haven't tested it on LINUX, so I'm curious to see if it works.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 04-25-2007 , 21:00   Re: Plugin Not Working on Linux?
Reply With Quote #29

Quote:
Originally Posted by Vet View Post
Try THIS ONE. I haven't tested it on LINUX, so I'm curious to see if it works.

FYI ... private data weapon ammo are cleared on death for linux aleast. I havn't looked at windows.

dod_get_user_ammo uses private data to get your ammo information. Once the player dies even before you get the forward client_death. Is already at 0.
__________________
No private support via Instant Message
GunGame:SM Released

Last edited by teame06; 04-26-2007 at 14:20.
teame06 is offline
Send a message via AIM to teame06
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 04-25-2007 , 21:07   Re: Plugin Not Working on Linux?
Reply With Quote #30

It works great on Windows! So if it don't work on LINUX as is, would the pdata still be valid if I hooked client_damage and checked health?
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 04-26-2007 at 09:24.
Vet is offline
Send a message via MSN to Vet
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 06:38.


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