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

Round Terminator


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-03-2010 , 06:07   Re: Round Terminator
Reply With Quote #21

I would like. Go ahead.
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 04-09-2010 , 22:58   Re: Round Terminator
Reply With Quote #22

I'm having trouble with the ending round. Right now only draw is working. "team ter auto" plays a sound but does nothing.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2010 , 04:32   Re: Round Terminator
Reply With Quote #23

I've tested all before releasing.
You should provide more informations, like :

- Are all the signatures well uploaded in the right place ?
- Are all the signatures found ? When server starts Orpheu parses all the files and you can see if the sig are found or not.
- Do you see errors in the console when you execute the command ?
- Show also the output of amxx list.
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 04-10-2010 , 06:22   Re: Round Terminator
Reply With Quote #24

This is the full error log.
Quote:
L 04/09/2010 - 1785: [ORPHEU] Function "CHalfLifeMultiplay::UpdateTeamScores" not found
L 04/09/2010 - 1785: [AMXX] Displaying debug trace (plugin "codmod8.amxx")
L 04/09/2010 - 1785: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 04/09/2010 - 1785: [AMXX] [0] codmod8.sma::UpdateTeamScores (line 7087)
L 04/09/2010 - 1785: [AMXX] [1] codmod8.sma::TerminateRound (line 6831)
L 04/09/2010 - 1785: [AMXX] [2] codmod8.sma::update_tdm_hud (line 668
L 04/09/2010 - 1785: [AMXX] [3] codmod8.sma::client_death (line 5200)
I've uploaded all the correct files and re-uploaded them twice. This log is of your code I put in mine, but it doesn't even work with your plugin by itself. Round draw works though, so I tried to work with that as best I could. I know that you tested this before posting it, so I probably just fucked it up somehow and missed a file somewhere. But I have no clue what cause, like I said, I've uploaded and re-uploaded them to double check.

I just double checked to make sure, and yes, "UpdateTeamScores" is uploaded.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 04-10-2010 at 06:25.
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2010 , 06:35   Re: Round Terminator
Reply With Quote #25

Can you run this small plugin and give me the output ?

Code:
    #include <amxmodx>     #include <orpheu>     #include <orpheu_advanced>     public plugin_init ()     {         new address = OrpheuGetFunctionAddress( OrpheuGetFunction( "UpdateTeamScores", "CHalfLifeMultiplay" ) );           new bytes[ 32 ];         OrpheuGetBytesAtAddress( address, bytes, sizeof bytes );                 new sig[ 256 ];         new len;                 for ( new i; i < sizeof bytes; i++ )         {             len += formatex( sig[ len ], charsmax( sig ) - len, "%x ", bytes[ i ] );         }                 log_amx( "UpdateTeamScores : %s", sig );         server_print( "UpdateTeamScores : %s", sig );     }

If possible, 2 times, and before doing the second, restart hlds ( not a restart command ).
I did not ask, but you have tested under windows, right ?
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 04-10-2010 , 10:06   Re: Round Terminator
Reply With Quote #26

I'll test it asap. Yes, my server is windows.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 04-10-2010 , 10:29   Re: Round Terminator
Reply With Quote #27

Quote:
L 04/10/2010 - 07:27:46: [ORPHEU] Function "CHalfLifeMultiplay::UpdateTeamScores" not found
L 04/10/2010 - 07:27:46: [AMXX] Displaying debug trace (plugin "miscplugin.amxx")
L 04/10/2010 - 07:27:46: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 04/10/2010 - 07:27:46: [AMXX] [0] miscplugin.sma::plugin_init (line 7)
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2010 , 11:56   Re: Round Terminator
Reply With Quote #28

Oups, sorry. I have forgotten to give you the address : 0x94490 ; in the file UpdateTeamScores, change the windows sig by 0x94490 and run the plugin.
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 04-10-2010 , 15:04   Re: Round Terminator
Reply With Quote #29

I'm sorry, but where do I do this?
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2010 , 15:08   Re: Round Terminator
Reply With Quote #30

Open UpdateTeamScores in orpheu/functions/CHalfLifeMultiplay/

and replace for windows : "value" : [...]

by : "value" : 0x94490
__________________
Arkshine 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 09:45.


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