Raised This Month: $ Target: $400
 0% 

Solved Ham_Spawn Issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-05-2017 , 16:09   Re: Ham_Spawn Issue
Reply With Quote #1

The thing is that you can't essentially do anything in first Ham_Spawn because the client hasn't been marked as ingame by AMXX at that time. You would have to put first spawn code in putinserver actually.
klippy is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-05-2017 , 16:18   Re: Ham_Spawn Issue
Reply With Quote #2

Quote:
Originally Posted by KliPPy View Post
The thing is that you can't essentially do anything in first Ham_Spawn because the client hasn't been marked as ingame by AMXX at that time. You would have to put first spawn code in putinserver actually.
I see , but what about other games like for example CS,TFC,DOD etc where u have to select a class?
I plan on probably hosting a CS server in the future.

Last edited by DarthMan; 04-05-2017 at 16:18.
DarthMan is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-05-2017 , 16:26   Re: Ham_Spawn Issue
Reply With Quote #3

CS doesn't Spawn (as in make him alive) the client in ClientPutInServer, while HL and some mods do that. That's why it works perfectly fine in CS. It's a flaw in AMXX in my opinion, but I am not sure it can be fixed without breaking backwards compatibility. It's just that ClientPutInServer is hooked as Post in AMXX core.

Last edited by klippy; 04-05-2017 at 16:27.
klippy is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 04-05-2017 , 17:25   Re: Ham_Spawn Issue
Reply With Quote #4

IMO I think you guys should focus more on functionality, stability and features rather than backward compatibility.. kind sucks being held back by things done poorly in the past...
__________________
Depresie is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 04-05-2017 , 19:30   Re: Ham_Spawn Issue
Reply With Quote #5

Quote:
Originally Posted by Depresie View Post
IMO I think you guys should focus more on functionality, stability and features rather than backward compatibility.. kind sucks being held back by things done poorly in the past...
This can be done as AMXX-2.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Depresie
Veteran Member
Join Date: Nov 2013
Old 04-05-2017 , 20:08   Re: Ham_Spawn Issue
Reply With Quote #6

I was thinking about that..

AMXX 2.0 based on ReHLDS and ReAPI ( ofc after they get more stable and functional )
__________________

Last edited by Depresie; 04-05-2017 at 20:08.
Depresie is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-06-2017 , 01:40   Re: Ham_Spawn Issue
Reply With Quote #7

How to fix FAKEMETA get/set gamerules* natives have been disabled because g_pGameRules address could not be found ?
And no, I am not using ReHLDS but the official HLDS from Valve's SteamCMD.

Last edited by DarthMan; 04-06-2017 at 02:07.
DarthMan is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 04-06-2017 , 12:43   Re: Ham_Spawn Issue
Reply With Quote #8

Quote:
Originally Posted by DarthMan View Post
How to fix FAKEMETA get/set gamerules* natives have been disabled because g_pGameRules address could not be found ?
And no, I am not using ReHLDS but the official HLDS from Valve's SteamCMD.
And not using ReGameDLL? What is your HLDS build?
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-06-2017 , 14:48   Re: Ham_Spawn Issue
Reply With Quote #9

Quote:
Originally Posted by PRoSToTeM@ View Post
And not using ReGameDLL? What is your HLDS build?
Nope, I am not, but I am running the latest amx mod x dev build.

Exe version is 1.1.2.2
Exe build: 13:13:28 Aug 20 2013 (6133)

This is the latest build.
DarthMan is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-06-2017 , 14:55   Re: Ham_Spawn Issue
Reply With Quote #10

Isn't build 6153 the latest?

Could be that you are missing gamedata. Can you provide your amxmodx/data/gamedata/common.games/globalvars.engine.txt?

Last edited by klippy; 04-06-2017 at 14:59.
klippy 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 18:04.


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