Raised This Month: $ Target: $400
 0% 

ASM2SMA - Codificador experimental de AMXX Assembly


  
 
 
Thread Tools Display Modes
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 09-20-2012 , 12:23   Re: ASM2SMA Log
#111

Puede leer Arrays y Tries ? y por favor , reitero que si necesitas algo me avises , no tengo muchos conocimientos pero puedo aprender xD
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 09-20-2012 , 13:01   Re: ASM2SMA Log
#112

Code:
ASM 2 SMA v.1.0 PRE-BETA
(C)2012 S34Qu4K3
Thanks to:
-= gladius, lucas_7_94, rak, Kiske... ALL SPANISH SECTION FROM ALLIEDMODS =)
-= sawce for his amxxdump, BAILOPAN for his 'Decompiling plugins' thread

AMXX Assembly File: amxxdump_chanta.txt... !FILE READ!

public plugin_init()
{

        register_plugin("Chanta","1.7","[R]ak")
        register_clcmd("chanta","Chanta",6,signed=-1 float=-1.#QNAN0,0x07signed=-1 float=-
1.#QNAN0)
        RegisterHam(0x46000000,"player","fw_TakeDamage","HamFilter")


}
public plugin_cfg()
{

        Trie:AuthId= -858993460
        TrieCreate()
        TrieSetCell(Trie:AuthId,4,56789iUsers[2][]=0x8 (8.00000))


}
public fw_TakeDamage(victim,inflictor,attacker,Float:damage,damage_type)
{

        get_maxplayers()
        is_user_alive(attacker)
        get_pdata_int(victim,0x0,0x6D000000)
        set_pdata_int(victim,0x0,0x61000000,0x6D000000)


}
public client_putinserver(id)
{



}
public __fatal_ham_error(Ham:id,HamError:err,reason[])
{

        get_func_id("HamFilter",3signed=-1 float=-1.#QNAN0)
        callfunc_begin_i(func,3signed=-1 float=-1.#QNAN0)
        callfunc_push_int(Ham:id)
        callfunc_push_int(HamError:err)
        callfunc_push_str(reason[],"HamFilter")
        callfunc_end()
        set_fail_state(reason[])


}
public Chanta(id)
{

        get_user_authid(id,authid[35],0x0)
        TrieKeyExists(Trie:AuthId,authid[35])
        client_print(id,"amFilter","Chanta %s",target:jump_13)


}
stock bool:operator<(Float:,Float:)(Float:oper1,Float:oper2)
{

        Float:Damage= -858993460
        Float:Damage= -858993460
        floatcmp(Float:oper1,Float:oper2)
        random_float(34signed=1114636288 float=60.00000056signed=1124204544 float=130.0000
0)
        SetHamParamFloat("amFilter",Float:Damage)


}
Por ahora lee asignamientos directos, nada de asignamientos con natives etc pero es algo
Muchas gracias por el ofrecimiento lucas =)
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.

Last edited by S34Qu4K3; 09-20-2012 at 13:01.
S34Qu4K3 is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 09-22-2012 , 07:13   Re: ASM2SMA Log
#113

http://www.mediafire.com/download.php?0seca658q7dtzye
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 09-22-2012 , 09:56   Re: ASM2SMA Log
#114

Muy a mi pesar, creo que no se puede recuperar lo que hay en arrays multidimensionales u.u (al igual que el nombre de los defines)
Code:
No module data detected.
native: client_cmd
0x00000008 public plugin_init()
codestart  codeend    address    type         name
0x00000008 0x00000058 0x00000000 global   val Users[2][0]
0x00000008 0x00000058 0x00000008 public       plugin_init
0x00000000 new Users[2][]

0x8                        PROC              ; public plugin_init()
0xC                       BREAK              ; test_bidimensional.sma:9
0x10                      BREAK              ; test_bidimensional.sma:11
0x14                   ZERO.pri
0x18                      ADD.C  0x4         ; signed:  4
0x20                   MOVE.alt
0x24                     LOAD.I
0x28                        ADD
0x2C                   PUSH.pri
0x30                     PUSH.C  0x1         ; 0x50000000
0x38                     PUSH.C  0x8
0x40                   SYSREQ.C  0x0         ; client_cmd
0x48                      STACK  0xC         ; free 3 cells
0x50                   ZERO.pri
0x54                       RETN
PHP Code:

#include <amxmodx>
#include <amxmisc>

new const Users[][] = 

    
"STEAM_0:1:00112233"
    
"STEAM_0:0:44556677" 


public 
plugin_init() 
{
    
client_cmd(1Users[1])

Estoy probando con otros parametros del amxxdump a ver...

EDIT: Se puede :·3
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.

Last edited by S34Qu4K3; 09-22-2012 at 10:06.
S34Qu4K3 is offline
SPT1
Senior Member
Join Date: Aug 2012
Old 09-23-2012 , 04:08   Re: ASM2SMA Log
#115

i tried but this only comes

#include <amxmodx>
#include <amxmisc>
__________________
AMXMODX
SPT1 is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 09-23-2012 , 08:29   Re: ASM2SMA Log
#116

Read the first post, don't use an amxx file...
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
SPT1
Senior Member
Join Date: Aug 2012
Old 09-23-2012 , 08:58   Re: ASM2SMA Log
#117

can you make a tutorial in english?
i downloaded amxxdump_util and amxxdump
so what will i do with both of them?
__________________
AMXMODX
SPT1 is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 09-23-2012 , 11:39   Re: ASM2SMA Log
#118

Spanish only here , thanks you.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
SPT1
Senior Member
Join Date: Aug 2012
Old 09-23-2012 , 13:02   Re: ASM2SMA Log
#119

but explain how to use in spanish
i will translate by google chrome
__________________
AMXMODX
SPT1 is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 09-23-2012 , 14:45   Re: ASM2SMA Log
#120

Quote:
Originally Posted by SPT1 View Post
but explain how to use in spanish
i will translate by google chrome
Speak in spanish please...
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
 



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 10:34.


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