Raised This Month: $ Target: $400
 0% 

Module: Orpheu (v2.6.3)


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-19-2010 , 12:27   Re: Module: Orpheu2.3a
Reply With Quote #601

Try that. Change the value of RestartRoundTime to the one you want. By default in CS, the time is set to 5 seconds.

Code:
#include <amxmodx> #include <orpheu> #include <orpheu_memory> const Float:RestartRoundTime = 1.0; #define set_mp_pdata(%0,%1,%2)  ( OrpheuMemorySetAtAddress( %0, %1, 1, %2 ) ) public plugin_init() {     register_plugin( "Custom Restart Round Time", "1.0.0", "Arkshine" );         OrpheuRegisterHook( OrpheuGetFunction( "CheckWinConditions", "CHalfLifeMultiplay" ), "CHLM_CheckWinConditions", OrpheuHookPost ); } public CHLM_CheckWinConditions( const handleGameRules ) {     set_mp_pdata( handleGameRules, "m_flRestartRoundTime", get_gametime() + RestartRoundTime ); }
Attached Files
File Type: zip [signature]custom_restart_round_time.zip (2.4 KB, 153 views)
__________________
Arkshine is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 10-20-2010 , 06:11   Re: Module: Orpheu2.3a
Reply With Quote #602

No, practically it wasn't that. But I found what I wanted in your Round Terminator plugin.
__________________
try using +karma if i helped you...
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-20-2010 , 07:04   Re: Module: Orpheu2.3a
Reply With Quote #603

You said you wanted that in the previous post... You wanted what exactly ? I still don't get. You are not clear.
__________________
Arkshine is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 10-20-2010 , 09:16   Re: Module: Orpheu2.3a
Reply With Quote #604

When you type sv_restart 1 in console you have to wait 1 second before there would be a restart. I wanted to remove that 1 second delay at all or make it like 0.1 second(lesser than 1 second).


P.S. Can I release my plugin somewhere(not here)? with credits to you ofc
__________________
try using +karma if i helped you...
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-20-2010 , 09:44   Re: Module: Orpheu2.3a
Reply With Quote #605

Did you try this plugin ? http://forums.alliedmods.net/showthread.php?t=120866
__________________
Arkshine is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 10-20-2010 , 10:43   Re: Module: Orpheu2.3a
Reply With Quote #606

didn't know about that plugin. but still i think it's the same
__________________
try using +karma if i helped you...
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-20-2010 , 11:00   Re: Module: Orpheu2.3a
Reply With Quote #607

Same as what ? Round Terminator ? It forces a round to end, that's not the same at all. sv_restart is a cvar "you" type in the console to restart the game. Nothing to do with round terminator which terminates a round like a normal round and nothing else. The delay are unchanged...
__________________
Arkshine is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 10-20-2010 , 11:14   Re: Module: Orpheu2.3a
Reply With Quote #608

same to effect I wanted and I made taking the code out of round terminator and changing the delay
__________________
try using +karma if i helped you...
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
bibu
Veteran Member
Join Date: Sep 2010
Old 11-14-2010 , 15:38   Re: Module: Orpheu2.3a
Reply With Quote #609

Hmm... I don't know it works perfect on my dedicated server, on this linux one not, using the latest module installed everything in the right place, log:

Quote:
L 11/14/2010 - 21:29:05: [AMXX] Module "cstrike/addons/amxmodx/modules/orpheu_amxx_i386.so" failed to load (/lib32/libc.so.6: version `GLIBC_2.4' not found (required by cstrike/addons/amxmodx/modules/orpheu_amxx_i386.so))
L 11/14/2010 - 21:29:05: Error:
L 11/14/2010 - 21:29:05: [AMXX] Module is not a valid library (file "cstrike/addons/amxmodx/modules/orpheu_amxx_i386.so")
I don't know at all what GLIBC_2.4 is....
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-14-2010 , 16:18   Re: Module: Orpheu2.3a
Reply With Quote #610

It means that the GLIBC is too old on the machine. If you rented it, send support request to update it. If you have root access to the machine, update it yourself.
__________________
Arkshine 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 17:34.


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