This site is a testing version, but all data is shared with the live forum.


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 08-01-2012 , 16:39   Re: Module: Orpheu2.3a
Reply With Quote #911

Check Infinite Round or Servers Cvars Unlocker plugin, it should have a file in orpheu/memory/ directory named probably like CGameRulesOffsets or something.
__________________
Arkshine is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 08-01-2012 , 23:35   Re: Module: Orpheu2.3a
Reply With Quote #912

Done, but my plugins let my server down, and I cant find the error, and cant post in public
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos is offline
4554
Senior Member
Join Date: Aug 2009
Old 08-04-2012 , 04:33   Re: Module: Orpheu2.3a
Reply With Quote #913

How to hook the monsters spawn site after map was loaded with that?
4554 is offline
Aristarchos
New Member
Join Date: Aug 2012
Old 08-05-2012 , 16:24   Re: Module: Orpheu2.3a
Reply With Quote #914

Hi. My servers are crashing when I run Orpheu, from times to times. I'm running the latest build of HLDS for windows. I get every now and then segmentation fault (access violation), with the following error code
Code:
function: orpheu_amxx!CBaseEntity::SUB_CallUseToggle
        0a8ad6a5 be128b018b       mov     esi,0x8b018b12
        0a8ad6aa 40               inc     eax
        0a8ad6ab 046a             add     al,0x6a
        0a8ad6ad 02528d           add     dl,[edx-0x73]
        0a8ad6b0 54               push    esp
        0a8ad6b1 2414             and     al,0x14
        0a8ad6b3 52               push    edx
        0a8ad6b4 ffd0             call    eax
        0a8ad6b6 8b44240c         mov     eax,[esp+0xc]
        0a8ad6ba c20c00           ret     0xc
        0a8ad6bd cc               int     3
        0a8ad6be cc               int     3
        0a8ad6bf cc               int     3
        0a8ad6c0 8b542408         mov     edx,[esp+0x8]
        0a8ad6c4 85d2             test    edx,edx
        0a8ad6c6 7427 jz orpheu_amxx!CBaseEntity::SUB_CallUseToggle+0xe61f (0a8ad6ef)
        0a8ad6c8 8bc2             mov     eax,edx
        0a8ad6ca 56               push    esi
        0a8ad6cb 8d7001           lea     esi,[eax+0x1]
        0a8ad6ce 8bff             mov     edi,edi
FAULT ->0a8ad6d0 8a08             mov     cl,[eax]                ds:0023:000000b2=??
        0a8ad6d2 40               inc     eax
        0a8ad6d3 84c9             test    cl,cl
        0a8ad6d5 75f9 jnz orpheu_amxx!CBaseEntity::SUB_CallUseToggle+0xe600 (0a8ad6d0)
        0a8ad6d7 2bc6             sub     eax,esi
        0a8ad6d9 40               inc     eax
        0a8ad6da 50               push    eax
        0a8ad6db 52               push    edx
        0a8ad6dc ff158c14920a call dword ptr [orpheu_amxx!Meta_Query+0x6c75c (0a92148c)]
        0a8ad6e2 8b4c2410         mov     ecx,[esp+0x10]
        0a8ad6e6 83c408           add     esp,0x8
        0a8ad6e9 8901             mov     [ecx],eax
        0a8ad6eb 5e               pop     esi
        0a8ad6ec c20c00           ret     0xc
        0a8ad6ef 6a01             push    0x1
        0a8ad6f1 6888378d0a       push    0xa8d3788
        0a8ad6f6 ff158c14920a call dword ptr [orpheu_amxx!Meta_Query+0x6c75c (0a92148c)]
        0a8ad6fc 8b54240c         mov     edx,[esp+0xc]
        0a8ad700 83c408           add     esp,0x8
        0a8ad703 8902             mov     [edx],eax
        0a8ad705 c20c00           ret     0xc
Help would be appreciated and feel free to ask me for any extra data
Aristarchos is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-05-2012 , 16:30   Re: Module: Orpheu2.3a
Reply With Quote #915

The module alone without plugin ?
__________________
Arkshine is offline
Aristarchos
New Member
Join Date: Aug 2012
Old 08-05-2012 , 17:16   Re: Module: Orpheu2.3a
Reply With Quote #916

I'm running a single plugin but it is not related to that toggle function

Code:
#include <amxmodx> #include <orpheu> #define PLUGIN "Anti flood" #define VERSION "1.0" #define AUTHOR "kanagava" new time_last_conn new ip_old[256] new ip_warn[256] new Msg[256] new OrpheuHook:handlePrintf new warn new old_time new registered public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     server_cmd("sv_logecho 1")     server_cmd("log on")     set_task(5.0, "regfunctions")   } public regfunctions() {     OrpheuRegisterHook(OrpheuGetFunction("SV_ConnectClient"),"OnSV_ConnectClientPre", OrpheuHookPre)     OrpheuRegisterHook(OrpheuGetFunction("SV_ConnectClient"),"OnSV_ConnectClientPost", OrpheuHookPost) } public OrpheuHookReturn:OnSV_ConnectClientPre() {     registered=0     if(get_systime()-old_time <= 2)    {         handlePrintf = OrpheuRegisterHook( OrpheuGetFunction( "Con_Printf" ), "Con_Printf" , OrpheuHookPre);         registered=1    }    old_time=get_systime()    return OrpheuIgnored; } public OrpheuHookReturn:OnSV_ConnectClientPost() {    if(registered)    {         OrpheuUnregisterHook(handlePrintf)     }    return OrpheuIgnored; } public OrpheuHookReturn:Con_Printf(const a[], const message[] ) {     registered=1     if (containi(message,"^" connected, address ^"")!=-1)     {         new len=255         new temp_right[256],temp_left[256],conn_ip[256]         formatex( Msg,charsmax( Msg ),"%s", message );         split(Msg, temp_left, len, temp_right, len, "^" connected, address ^"")         strtok(temp_right, conn_ip, len, temp_right, len, ':')             warn=warn+1             if(warn>2 && equal(conn_ip,ip_warn))             {                 log_amx("[NOFLOOD] Connection flood detected from ip %s",ip_old)                 server_cmd("addip 120.0 %s",ip_old)             }             ip_warn=conn_ip         }         else         {             warn=0         }         ip_old=conn_ip         time_last_conn=get_systime()     }     return OrpheuIgnored; }
Aristarchos is offline
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 08-05-2012 , 20:01   Re: Module: Orpheu2.3a
Reply With Quote #917

Check your signatures.

Using latest engine need an updated signatures for that library.
__________________

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
Aristarchos
New Member
Join Date: Aug 2012
Old 08-05-2012 , 21:22   Re: Module: Orpheu2.3a
Reply With Quote #918

Sorry, how can I do that?
I only have 2 signatures

cstrike\addons\amxmodx\configs\orpheu\functio ns\Con_Printf
Code:
{
    "name"      : "Con_Printf",
    "library"   : "engine",
    "arguments" : 
    [
        {
            "type" : "char *" 
        },
        {
            "type" : "char *" 
        }
    ],
    "identifiers" : 
    [
        {
            "os"    : "windows",
            "mod"   : "cstrike",
            "value" : [0x55,0x8B,0xEC,0xB8,"*","*","*","*",0xE8,"*","*","*","*",0x8B,"*","*",0x8D,"*","*",0x50,0x51,0x8D,0x95,"*","*","*","*",0x68,"*","*","*","*",0x52,0xE8,"*","*","*","*",0x8D,0x85,"*","*","*","*",0x50]
        },
        {
            "os"    : "linux",
            "mod"   : "cstrike",
            "value" : "Con_Printf"
        } 
    ]
}
cstrike\addons\amxmodx\configs\orpheu\functio ns\Con_Printf
Code:
{ 
    "name" : "SV_ConnectClient", 
    "library" : "engine", 
    "identifiers" : 
    [ 
        { 
            "os" : "windows", 
            "value" : [0x55,0x8B,0xEC,0x81,"*","*","*","*","*",0x53,0x56,0x57,0xB9,0x05,0x00,0x00,0x00,0xBE,"*","*","*","*",0x8D,"*","*",0x33,0xDB,0x68,"*","*","*","*"] 
        }, 
        { 
            "os" : "linux", 
            "value" : "SV_ConnectClient" 
        } 
    ] 
}
Aristarchos is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-06-2012 , 03:23   Re: Module: Orpheu2.3a
Reply With Quote #919

Orpheu handles poorly function with '...' param. Using char* for that, it's more a trick. It might the cause and it would not be a bad idea to try to make a Rage version instead.
__________________
Arkshine is offline
officialwaveform
Member
Join Date: Aug 2012
Old 09-10-2012 , 05:49   Re: Module: Orpheu2.3a
Reply With Quote #920

how to install?
officialwaveform 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 13:39.


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