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

Module: Rage


Post New Thread Reply   
 
Thread Tools Display Modes
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-10-2012 , 00:04   Re: Module: Rage
Reply With Quote #41

Quote:
Originally Posted by Doc-Holiday View Post
Ham cant hook cz bots using classname player you have to hookem and register from ent.
Ok fellow i spent this last hours doing something for you that I hope it works as you wish.

First download the new Rage Beta 2 (it's a must) that I took advantage to upload after fixing bugs and stuff that we checked. Then download the file "module_hambot_bin.zip" it should have everything needed there. If it works tell arkshine to make you a signature.

After installing this:
Before anything check if you have errors with the command "rage errors"

Then in plugins do like:

PHP Code:
RegisterHam(Ham_Spawn,"czbot","OnSpawn"
____________________

About the update:

French guy that is close friend of connor: now I know the reason to "rage handlers" crash (is because of string handling) but i didn't fix it because I need to fully update rage to have a new class to manage strings because working with char* is a pain and can fuck up in specific conditions and stuff like that.

Warning for Connor and anyone that is coding a sub module:
I update the class FunctionForModule so download the new src file you can find in rage src or in the src of the module on this post.
Attached Files
File Type: zip module_hambot_bin.zip (124.0 KB, 578 views)
File Type: zip module_hambot_src.zip (67.3 KB, 350 views)
File Type: zip handlers_src.zip (135.8 KB, 424 views)

Last edited by joaquimandrade; 03-10-2012 at 00:06.
joaquimandrade is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-10-2012 , 00:54   Re: Module: Rage
Reply With Quote #42

Code:
] meta list 
Currently loaded plugins:
      description      stat pend  file              vers      src   load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.1.3  ini   Start ANY  
 [ 2] Fun              RUN   -    fun_amxx.dll      v1.8.1.3  pl1   ANY   ANY  
 [ 3] CStrike          RUN   -    cstrike_amxx.dll  v1.8.1.3  pl1   ANY   ANY  
 [ 4] CSX              RUN   -    csx_amxx.dll      v1.8.1.3  pl1   ANY   ANY  
 [ 5] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.1.3  pl1   ANY   ANY  
 [ 6] Engine           RUN   -    engine_amxx.dll   v1.8.1.3  pl1   ANY   ANY  
 [ 7] Rage             RUN   -    rage_amxx.dll     vBETA 2   pl1   ANY   ANY  
 [ 8] hambot           RUN   -    hambot.rm.dll     v1.0      pl7   ANY   ANY  
 [ 9] ptr__ptr         RUN   -    ptr__ptr.rh.dll   v1.0      pl7   ANY   ANY  
 [10] ptr__ptr_ptr_pt  RUN   -    ptr__ptr_ptr_ptr  v1.0      pl7   ANY   ANY  
10 plugins, 10 running

] rage errors

Errors:
This is what i got.

If that is correct i think its ready for a signature.

Last edited by Doc-Holiday; 03-10-2012 at 01:00.
Doc-Holiday is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-10-2012 , 05:55   Re: Module: Rage
Reply With Quote #43

Ok then tell if it works right
joaquimandrade is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-10-2012 , 09:48   Re: Module: Rage
Reply With Quote #44

Quote:
Originally Posted by joaquimandrade View Post
Ok then tell if it works right
Itll work without the signatures? If so I will try it as soon as i get home..

in the plugin that i register the bots do i need to #include <rage> or anything like that?
Doc-Holiday is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-10-2012 , 10:18   Re: Module: Rage
Reply With Quote #45

Quote:
Originally Posted by Doc-Holiday View Post
Itll work without the signatures? If so I will try it as soon as i get home..

in the plugin that i register the bots do i need to #include <rage> or anything like that?
No, you don't need nothing just have the module "hambot" installed. Try it please. (you dont need signature, it has the offfset. the signature is to hopely make it resistent to new binary updates)

Last edited by joaquimandrade; 03-10-2012 at 10:23.
joaquimandrade is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-10-2012 , 11:08   Re: Module: Rage
Reply With Quote #46

Quote:
Originally Posted by joaquimandrade View Post
No, you don't need nothing just have the module "hambot" installed. Try it please. (you dont need signature, it has the offfset. the signature is to hopely make it resistent to new binary updates)
Alrighty will give it a shot as soon as i get home thanks.
Doc-Holiday is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-11-2012 , 05:00   Re: Module: Rage
Reply With Quote #47

Tested your module.

Test Plugin
PHP Code:
#include <amxmodx>
#include <hamsandwich>




public plugin_init()
{
    
RegisterHam(Ham_Killed"czbot""fwdPlayerKilled"1);
    
RegisterHam(Ham_Spawn"czbot""fwdPlayerSpawn"1);
    
    
RegisterHam(Ham_Killed"player""fwdPlayerKilled"1);
    
RegisterHam(Ham_Spawn"player""fwdPlayerSpawn"1);
}




public 
fwdPlayerKilled(iVictimiKilleriShouldGib)
{
    
client_print(0print_chat"%s died", (is_user_bot(iVictim) ? "Bot" "Human"));
}




public 
fwdPlayerSpawn(iClient)
{
    
client_print(0print_chat"%s Spawn", (is_user_bot(iClient) ? "Bot" "Human"));

Console after test
Code:
Human Spawn
Bot Spawn
Bot Spawn
Bot Spawn
................
*** .:XvG:. SavSin killed Graham with a headshot from ak47 ***
Time Left: 19:50 min. Next Map: de_dust2_cz
Bot died
] kill
.:XvG:. SavSin

Last edited by Doc-Holiday; 03-11-2012 at 05:00.
Doc-Holiday is offline
bogdyuttzu
Senior Member
Join Date: Dec 2009
Location: Romania
Old 03-11-2012 , 05:31   Re: Module: Rage
Reply With Quote #48

I've downloaded beta 2 linux and I put on server but I have still beta 1

Code:
[ 1] AMX Mod X RUN- amxmodx_mm_i386. v1.8.1.3 iniStart ANY 
[ 2] Rage RUN- rage_amxx_i386.s vBETA 1pl2ANYANY 
[ 3] CStrike RUN- cstrike_amxx_i38 v1.8.1.3 pl2ANYANY 
[ 4] FakeMetaRUN- fakemeta_amxx_i3 v1.8.1.3 pl2ANYANY 
[ 5] Ham Sandwich RUN- hamsandwich_amxx v1.8.1.3 pl2ANYANY 
[ 6] Fun RUN- fun_amxx_i386.so v1.8.1.3 pl2ANYANY 
[ 7] Engine RUN- engine_amxx_i386 v1.8.1.3 pl2ANYANY 
[ 8] Orpheu RUN- orpheu_amxx_i386 v2.3pl2ANYANY 
8 plugins, 8 running
bogdyuttzu is offline
Send a message via Yahoo to bogdyuttzu
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-11-2012 , 05:55   Re: Module: Rage
Reply With Quote #49

Make sure to restart (shutdown).
__________________
Arkshine is offline
bogdyuttzu
Senior Member
Join Date: Dec 2009
Location: Romania
Old 03-11-2012 , 08:45   Re: Module: Rage
Reply With Quote #50

I shutdown the server and reopen but still beta 1.
bogdyuttzu is offline
Send a message via Yahoo to bogdyuttzu
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 02:24.


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