Raised This Month: $81 Target: $400
 20% 

Module: Rage


Post New Thread Reply   
 
Thread Tools Display Modes
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 04-19-2012 , 09:27   Re: Module: Rage
Reply With Quote #101

Quote:
Originally Posted by kiki33hun View Post
I need c++ converter, please link!
There's some C++ to ASCII online converters, search on the web
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 04-19-2012 , 09:30   Re: Module: Rage
Reply With Quote #102

Editors should be
__________________
kiki33hun is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 05-18-2012 , 12:27   Re: Module: Rage
Reply With Quote #103

Help

Code:
L 05/18/2012 - 19:24:33: [HAMSANDWICH] Failed to retrieve classtype for "weapon_
boomerang", hook for "OnSpawnBoomerang" not active.
L 05/18/2012 - 19:24:33: [AMXX] Displaying debug trace (plugin "class_creator_ex
ample.amxx")
L 05/18/2012 - 19:24:33: [AMXX] Run time error 10: native error (native "Registe
rHam")
L 05/18/2012 - 19:24:33: [AMXX]    [0] class_creator_example.sma::plugin_precach
e (line 15)
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
Sp@jk
Member
Join Date: May 2010
Location: Serbia
Old 05-20-2012 , 16:56   Re: Module: Rage
Reply With Quote #104

Quote:
Originally Posted by Arkshine View Post
Here the module example.

Please note :
- class_creator is integrated inside the module. It creates the entity "weapon_hivehand".
- I have a lot of trouble to get this working under linux without crash, while under windows it works like a charm. Please consider a release windows-only for now.
- Don't ask me to customize the weapon, it's just an example.
- This example may lead to an global API to make weapons later, like WeaponMod, but the core as module, weapons as sub-modules, and pawn plugins to customize things.
- The source code is kind of messy because of linux.
- The weapon uses a custom v_ model because the HL weapons are designed to right and in-game you will see the weapon at left. So, a new model flipped to left is provided.

Some screenchots : #1, #2, #3

Here the pawn plugin provided to show how it's nice to be able to us directly a new entity name :

Spoiler


As side-note, I've added 2 forwards for fun to control to whom the hornet should track and make damage.
By default, it ignores players of a same team.
Damage by default is on 10. Sorry forgot to add something to control it. :p


To install :
1) Install Rage beta3
2) Unzip & overwrite if ask hornetgun_BIN.zip in your $moddir.
3) Restart
4) In-game, just type the command hive in console or chat.
5) Enjoy.
- hornetgun_BIN.zip : contains handlers/modules/amxx binaries + plugin source.
- hornetgun_SRC.zip : contains handlers/modules source code.
pls arkshine make this work on linux
Sp@jk is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 06-08-2012 , 11:57   Re: Module: Rage
Reply With Quote #105

Hello !

I have some entities that I must kill. I have this code for the moment :

PHP Code:
gFuncInfoTargetKilled Rage->get_virtual_function"Killed" )->create_with_class"info_target" );
gFuncBreakableKilled Rage->get_virtual_function"Killed" )->create_with_class"func_breakable" );
gFuncPlayerKilled Rage->get_virtual_function"Killed" )->create_with_class"player" ); 
I think it is possible to have just one pointer no ?

PHP Code:
gFuncEntity Rage->get_virtual_function"Killed" )->create_with_object"CBase_Entity" ); // ? 
Thank you !
__________________

Last edited by micapat; 06-08-2012 at 11:57.
micapat is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-20-2012 , 07:37   Re: Module: Rage
Reply With Quote #106

I'm having issues installing rage on my dedicated server. Once I enable rage through modules.ini in amxmodx, my server crashes immediately (no error, just program crash). There wasn't a metamod module included, so I don't think that's the problem. I want to try and get this working so I can take advantage of the colorchat module. I looked at my installation and I don't see any problems, so I might just be installing it incorrectly. Is there some trick I'm missing?

EDIT: I looked at the report, and ColorChat.rm.dll is the cause. I'm using the most current release, so there must be some installation error I've made (I'm not going to go off saying it's one of your faults, since obviously these are tested releases). Thanks for any help.
__________________

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 06-20-2012 , 08:48   Re: Module: Rage
Reply With Quote #107

Do you have the latest Rage version ? Just tested to unzip on my PC and starting HLDS, it doesn't crash and all seems to be loaded.
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 06-20-2012 , 18:35   Re: Module: Rage
Reply With Quote #108

Quote:
Originally Posted by Arkshine View Post
Do you have the latest Rage version ? Just tested to unzip on my PC and starting HLDS, it doesn't crash and all seems to be loaded.
I've just tried running rage and removing ColorChat.rm.dll from the ./amxmodx/modules/ folder and it seems to load just fine, so my version of the ColorChat module must be corrupted.
__________________

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
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Vińa del Mar, Chile
Old 06-24-2012 , 20:20   Re: Module: Rage
Reply With Quote #109

Quote:
Originally Posted by Arkshine View Post
This is an example of a handler + module + plugin using the function CBaseEntity::FireBullets3().
Arkshine, can you make a signature for the function "FireBullets" that as from I know it's for shotguns?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-24-2012 , 20:25   Re: Module: Rage
Reply With Quote #110

I can, but will be for tomorrow.
__________________

Last edited by Arkshine; 06-24-2012 at 20:26.
Arkshine is offline
Old 06-25-2012, 03:47
ConnorMcLeod
This message has been deleted by ConnorMcLeod.
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 07:22.


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