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

HLDS 2013 Bug CSDM.!


Post New Thread Reply   
 
Thread Tools Display Modes
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 02-21-2013 , 01:16   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #21

Can somebody please fix this? This is the most used mod in CS. :/
Ejziponken is offline
Voltron
Senior Member
Join Date: Jun 2007
Location: Above the battlefield.
Old 02-23-2013 , 00:57   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #22

Quote:
Originally Posted by Ejziponken View Post
Can somebody please fix this? This is the most used mod in CS. :/
I thought you fixed it yourself. Because brutalcs has deathmatch servers that work with the latest version...
__________________
Voltron is offline
knc
New Member
Join Date: Apr 2009
Location: in front of monitor
Old 02-23-2013 , 07:05   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #23

I tried to fix that but no success after many hours.
Current status is that my server starts with no error but after player dies server crashes.

Code:
#define CSPLAYER_ROUNDRESPAWN            "_ZN11CBasePlayer12RoundRespawnEv"
#define CSPLAYER_RESTARTROUND            "_ZN18CHalfLifeMultiplay12RestartRoundEv"
#define CSPLAYER_TAKEDAMAGE              "_ZN11CBasePlayer10TakeDamageEP9entvars_sS1_fi"
#define CSGAME_PLAYERKILLED              "_ZN18CHalfLifeMultiplay12PlayerKilledEP11CBasePlayerP9entvars_sS3_"
#define CSPLAYER_RESTARTROUND_END        0x78A
compiled with gcc-4.6 on Ubuntu

maybe someone more skilled should help?
__________________
.

Last edited by knc; 02-23-2013 at 07:11. Reason: [code]
knc is offline
SuperRay
Junior Member
Join Date: Feb 2013
Old 02-28-2013 , 07:06   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #24

I asked Bailoplan about update - he answered that he didn't looked at it yet, and he will try this week. I think we must do some donations, to help him :-)
SuperRay is offline
rx1983
Senior Member
Join Date: Jan 2009
Location: BRASIL
Old 03-03-2013 , 20:17   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #25

Quote:
Originally Posted by SuperRay View Post
I think we must do some donations, to help him :-)
I've done it, and until now have not seen anything.
__________________

Last edited by rx1983; 03-03-2013 at 20:18.
rx1983 is offline
Send a message via MSN to rx1983
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-04-2013 , 04:24   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #26

Donations won't help at all. He's just working and busy. That's all.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-09-2013 , 16:40   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #27

If some people want to test, in waiting the official* release.

*On a technical note : I have some trouble with the function CHalflifeMultiplay::RestartRound() the module hooks, which creates a gate at the end of function. Because of the new game compilation optimization, it would seem the current method doesn't work properly, but I'm don't have enough assembly knowledge to fix it. So, as workaround, I'm hooking the function by creating a gate at the start of function, which is more easy to handle, but [very] slightly less efficient. Though it would be fine since that's not a function called often (one time/x minutes), so there is no performance issue at all. Meanwhile the official version, this version is fine.

Fastly tested under linux, it seems ok. Waiting feedbacks.
Attached Files
File Type: zip CSDM-2.1.3-original-unofficial.zip (88.0 KB, 2390 views)
File Type: zip CSDM-2.1.3k-KWo-unofficial.zip (95.2 KB, 1943 views)
__________________

Last edited by Arkshine; 03-16-2013 at 09:40.
Arkshine is offline
knc
New Member
Join Date: Apr 2009
Location: in front of monitor
Old 03-09-2013 , 17:06   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #28

I'm gonna test this. I ended on same problem with gate creation. Thanks!

//EDIT: Confirmed. Not crashing and working on BUILD 5956. I'm going to test it under players load.
btw could you share source please?
__________________
.

Last edited by knc; 03-09-2013 at 17:13.
knc is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-09-2013 , 17:44   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #29

Sure, I was waiting someone confirming it works.

Btw, I said slightly less efficient, but it would be very very very slightly less, and here for this function RestartRound (occurring when a round starts), it will change nothing. I should not have said that. The difference in this hooking method, is just to call original function, you have to unpatch the gate, calling, then patching the gate, when the original method you create one time the gate, but considering how often this function is called (one time/x minutes), there is no performance issue at all.
Attached Files
File Type: zip CSDM-2.1.3-original-unofficial-source.zip (176.0 KB, 318 views)
File Type: zip CSDM-2.1.3k-KWo-unofficial-source.zip (75.8 KB, 307 views)
__________________

Last edited by Arkshine; 03-09-2013 at 17:46.
Arkshine is offline
[PUPPETS] Scooter
Member
Join Date: May 2009
Old 03-10-2013 , 07:07   Re: HLDS 2013 Bug CSDM.!
Reply With Quote #30

No problems yet, thanks a lot for fixing.
[PUPPETS] Scooter is offline
Reply


Thread Tools
Display Modes

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 18:43.


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