Raised This Month: $32 Target: $400
 8% 

Module: Rage


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-25-2012 , 06:43   Re: Module: Rage
Reply With Quote #111

Try that :

windows :
Code:
{0x81,*,*,*,*,*,0xA1,*,*,*,*,0x53,0x55,0x8B,*,0x8B}
linux :
Code:
FireBullets__11CBaseEntityUlG6VectorN22fiiiP9entvars_s
__________________

Last edited by Arkshine; 06-25-2012 at 06:44.
Arkshine is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 06-25-2012 , 08:39   Re: Module: Rage
Reply With Quote #112

Quote:
Originally Posted by Arkshine View Post
Try that :

windows :
Code:
{0x81,*,*,*,*,*,0xA1,*,*,*,*,0x53,0x55,0x8B,*,0x8B}
linux :
Code:
FireBullets__11CBaseEntityUlG6VectorN22fiiiP9entvars_s
Function it‘s not present on windows?
__________________
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-25-2012 , 08:47   Re: Module: Rage
Reply With Quote #113

The function exists but you need a signature (of bytes) for windows since there are no symbol names coming with windows (except the exported functions) unlike linux.
__________________
Arkshine is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-14-2012 , 11:16   Re: Module: Rage
Reply With Quote #114

This functions throws a warning at compile time

Quote:
cell AMX_NATIVE_CALL Rage::GetFunction(AMX* amx,cell* params)
{
int len;
char *functionName = g_fn_GetAmxString(amx,params[1],0,&len);

unsigned int id = Global::functionsManager.get_id_of(functionNa me);

if(id == -1)
{
MF_LogError(amx, AMX_ERR_NATIVE, "Function \"%s\" not found in rage",functionName);
}

return id;
}
id is unsigned but is compared to -1
__________________

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
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 07-14-2012 , 17:30   Re: Module: Rage
Reply With Quote #115

The range of unsigned int is : 0 .. 4 294 967 295. The compiler must think that your condition can never be true. Try to compare it with 0xFFFFFFFF ( = -1 ) maybe.
__________________

Last edited by micapat; 07-14-2012 at 17:30.
micapat is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-14-2012 , 19:12   Re: Module: Rage
Reply With Quote #116

Quote:
Originally Posted by micapat View Post
The range of unsigned int is : 0 .. 4 294 967 295. The compiler must think that your condition can never be true. Try to compare it with 0xFFFFFFFF ( = -1 ) maybe.
I know what's going on, I'm just reporting it.

Inside the referenced class, there's a member defined as unsigned but in some function to get that number it returns -1.
__________________

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
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 07-16-2012 , 14:54   Re: Module: Rage
Reply With Quote #117

Anyone can provide handlers for FireBullets functions and TraceAttack? they seem to be useful
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Kiske
Veteran Member
Join Date: May 2009
Old 08-12-2012 , 16:59   Re: Module: Rage
Reply With Quote #118

Hi,
Sory, i am noob in this and my question is:

http://forums.alliedmods.net/showpos...37&postcount=3
Quote:
CBaseEntity *UTIL_FindEntityInSphere( CBaseEntity *pStartEntity, const Vector &vecCenter, float flRadius )

->

CBaseEntity__CBaseEntity_Vector-ref_Float
Why shouldn't be: CBaseEntity__CBaseEntity-ref_Vector-ref_Float ?
Kiske is offline
Send a message via Skype™ to Kiske
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-12-2012 , 17:09   Re: Module: Rage
Reply With Quote #119

Any "entity" passed will be just "CBaseEntity".
__________________
Arkshine is offline
Kiske
Veteran Member
Join Date: May 2009
Old 08-12-2012 , 19:57   Re: Module: Rage
Reply With Quote #120

Quote:
Originally Posted by Arkshine View Post
Any "entity" passed will be just "CBaseEntity".
Thanks!
Kiske is offline
Send a message via Skype™ to Kiske
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 20:07.


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