Jump to content

Kusoo

Members
  • Content Count

    44
  • Joined

  • Last visited

Posts posted by Kusoo


  1. 4 hours ago, 4144 said:

    error show what you probably using packet version older than 2010. you really need it?

     

    You were right, I was using an old packet verssion, thank you!

    One thing I had to do was give hercuser sudo permition, without it I couldnt use 'make' succesuflly


  2. Hello there, I've been using this guide to set up a herc server on my RPi 4 https://herc.ws/wiki/Installation_(Debian)

     

    Everything works until the compilation part.

     

    I'm using DietPi

     

    This is the output of 'make sql'

    hercuser@DietPi:~/Hercules $ make sql
            MAKE    mt19937ar
    make[1]: se entra en el directorio '/home/hercuser/Hercules/3rdparty/mt19937ar'
    make[1]: No se hace nada para 'all'.
    make[1]: se sale del directorio '/home/hercuser/Hercules/3rdparty/mt19937ar'
            MAKE    libconfig
    make[1]: se entra en el directorio '/home/hercuser/Hercules/3rdparty/libconfig'
    make[1]: No se hace nada para 'all'.
    make[1]: se sale del directorio '/home/hercuser/Hercules/3rdparty/libconfig'
            MAKE    libbacktrace
    make[1]: se entra en el directorio '/home/hercuser/Hercules/3rdparty/libbacktrace'
    make[1]: No se hace nada para 'all'.
    make[1]: se sale del directorio '/home/hercuser/Hercules/3rdparty/libbacktrace'
            MAKE    common_sql
    make[1]: se entra en el directorio '/home/hercuser/Hercules/src/common'
    make[1]: No se hace nada para 'sql'.
    make[1]: se sale del directorio '/home/hercuser/Hercules/src/common'
            MAKE    login_sql
    make[1]: se entra en el directorio '/home/hercuser/Hercules/src/login'
    make[1]: No se hace nada para 'sql'.
    make[1]: se sale del directorio '/home/hercuser/Hercules/src/login'
            MAKE    char_sql
    make[1]: se entra en el directorio '/home/hercuser/Hercules/src/char'
    make[1]: No se hace nada para 'all'.
    make[1]: se sale del directorio '/home/hercuser/Hercules/src/char'
            MAKE    map_sql
    make[1]: se entra en el directorio '/home/hercuser/Hercules/src/map'
            CC      achievement.c
    Mensajes del ensamblador:
    Error fatal: no se puede crear obj_sql/achievement.o: Permiso denegado
    In file included from ../common/hercules.h:24,
                     from ../map/achievement.h:24,
                     from achievement.c:24:
    ../common/packetsstatic_len.h:28:24: error: ‘PACKET_LEN_0x02c8’ undeclared here (not in a function); did you mean ‘PACKET_LEN_0x0298’?
      STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
                            ^~~~~~~~~~~
    ../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
     #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
                                                   ^~
    ../map/packets_struct.h:3158:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
     DEFINE_PACKET_HEADER(CZ_PARTY_CONFIG, 0x02c8);
     ^~~~~~~~~~~~~~~~~~~~
    ../common/packetsstatic_len.h:28:16: error: expression in static assertion is not an integer
      STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
                    ^
    ../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
     #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
                                                   ^~
    ../map/packets_struct.h:3158:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
     DEFINE_PACKET_HEADER(CZ_PARTY_CONFIG, 0x02c8);
     ^~~~~~~~~~~~~~~~~~~~
    ../common/packetsstatic_len.h:28:24: error: ‘PACKET_LEN_0x07e1’ undeclared here (not in a function); did you mean ‘PACKET_LEN_0x01e1’?
      STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
                            ^~~~~~~~~~~
    ../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
     #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
                                                   ^~
    ../map/packets_struct.h:3597:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
     DEFINE_PACKET_HEADER(ZC_SKILLINFO_UPDATE2, 0x07e1);
     ^~~~~~~~~~~~~~~~~~~~
    ../common/packetsstatic_len.h:28:16: error: expression in static assertion is not an integer
      STATIC_ASSERT((int32)(PACKET_LEN_##id) == -1 || sizeof(struct PACKET_##name) == \
                    ^
    ../common/cbasetypes.h:472:47: note: in definition of macro ‘STATIC_ASSERT’
     #define STATIC_ASSERT(ex, msg) _Static_assert(ex, msg)
                                                   ^~
    ../map/packets_struct.h:3597:1: note: in expansion of macro ‘DEFINE_PACKET_HEADER’
     DEFINE_PACKET_HEADER(ZC_SKILLINFO_UPDATE2, 0x07e1);
     ^~~~~~~~~~~~~~~~~~~~
    make[1]: *** [Makefile:165: obj_sql/achievement.o] Error 2
    make[1]: se sale del directorio '/home/hercuser/Hercules/src/map'
    make: *** [Makefile:124: map_sql] Error 2
    hercuser@DietPi:~/Hercules $

     


  3. Hello there! I'm writing this code that will give prizes to the top 3 MvP killers

    Should be triggered every monday, but for testing purposes I picked OnMinute1 :)

    OnInit:
    
    OnMinute1:
    
    L_give:
    announce "Entregando premios .",0;
    query_sql("Select ragnarok.char_reg_num_db.char_id, ragnarok.char.name, ragnarok.char_reg_num_db.value FROM ragnarok.char_reg_num_db INNER JOIN ragnarok.char ON ragnarok.char.char_id=ragnarok.char_reg_num_db.char_id WHERE ragnarok.char_reg_num_db.`key`='MvP' ORDER BY ragnarok.char_reg_num_db.value DESC LIMIT 3", .@chrid); // Selects TOP 3 MVP
    
    query_sql "DELETE FROM char_reg_num_db WHERE char_reg_num_db.`key`='USERAURA' OR char_reg_num_db.`key`='USERAURA1'";
    	.@existeonel = query_sql ("Select exists(SELECT ragnarok.char_reg_num_db.char_id FROM ragnarok.char_reg_num_db WHERE ragnarok.char_reg_num_db.char_id=150003 AND ragnarok.char_reg_num_db.`key`= 'USERAURA')"); //DELETE Previous Prize
    for (set @i,0; @i < 3; set @i,@i+1) 
    	{
    	.@existeonel = query_sql ("Select exists(SELECT ragnarok.char_reg_num_db.char_id FROM ragnarok.char_reg_num_db WHERE ragnarok.char_reg_num_db.char_id=150003 AND ragnarok.char_reg_num_db.`key`= 'USERAURA')");
    	mes "Encontrado: "+.@existeonel+"";
    	if (.@existeonel == 1)
    		{
    			if (.@chrid[@i] != 0)
    			{
    			query_sql("INSERT INTO `ragnarok`.`char_reg_num_db` (`char_id`, `key`, `value`) VALUES ("+.@chrid[@i]+", 'USERAURA', 586)");
    			query_sql("INSERT INTO `ragnarok`.`char_reg_num_db` (`char_id`, `key`, `value`) VALUES ("+.@chrid[@i]+", 'USERAURA1', 587)");
    			}
    		}
    }
    end;
    

    This is my console: 

     

    8yt1v3L.png

     

     


  4. it really depends on how the 'Maya Purple Filter' works.

    the whole packet is not encrypted or obfuscated, only the first 2 bytes (the message_id)

    and only on packets 'client to server'.

    excellent to stop sending arbitrary packets and skill spamming.

     

    packets sent 'server to client' dont have message_id encryption, which is probably where the filter is doing its work

    i guess the filter works by searching for the incoming packet and discards it.

     

    yup, Anti WPE has its limitations :(

    Indeed, as you said

    qS4jyBf.png The long blue bar is the important thing, is the important data the WPE is looking for and then modifies.

    The short red bar is the message id as @Yommy said.

     

    So this is more like a Anti-rPE, it is a shame, I was liking the idea of not having to buy a extra security package :(

     

    Thanks @Dastgir, @Yommy.


  5.  

    Is the feature supposed to block all packets modification, am I right? So I shouln't be able to use Maya Purple Filter or things like that, right ? D: Because right now I can use it.

     

     

    TinS4Wx.png

    Yes, all things that used to modify or manipulate packets won't be able to used.

    You need to be sure you choose correct client(which have good packet keys, or have edited with your keys, which are good)

     

    Then I don't know what I am doing ... :(

     

    I downloaded this client  r0f3AkH.png

     

    I diff it:

    ZsuL6oy.png

    pTulrAe.png 

     

    The Keys are:

    W37xEhM.png As you can see, it's passed

     

    Then I change the original keys for the custom ones in packets.h

     

    cBMaZQT.png

     

    and for last I changed this option to 2:

     

    n2r9sgu.png

     

    I can login without any problem, I can't even use rPE, if I try to send a skill by packet, it disconnects me, but if I use WPE and activate the Maya Purple Filter, I can see myself on cloaking

     

    Any ideas ?

     

    Thanks 

     

    dat frog looks suspicious 

    It's my healer C:


  6. I am not actually at home, but do you know that webpage, like 5~8 years ago that could let you make your own status checker? I was something like blackout gaming, well, the "code" it is just a img src tag, pointing to that Web (blackout....), in my browser it shows it like online


  7. Well, I can't make this work :(

     

    First of all I tried to host my stuff in 000webhost, Thor could read main.ini and even shows notice.html, but there was some weird errors about scripts and insta failed to connect..

     

    After reading and reading, I found this http://rero.wikia.com/wiki/Setting_up_Patch_host, I chose to use google code and now it doesn't show up any script error buuut it always says Attempt to connect to patch server, I even change mime type things but didn't work..

     

    So, what can I do?

     

    U4ICOBK.png

     

     

     

     

    :(


  8. Hello Hercules Community,

     

    Its been few weeks(probably 2 months(8 weeks :P)), since I am working on this project side by side(thus it took 2 months),

    Let me explain it first.

    It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded).

    Currently, only Flavius CTF is coded.... and some major bug fixing and improvements of script stage is going on .

    Some Previews:

    http://imgur.com/a/2SSVR

     

     

    Ohh, and the last thing I forgot to tell, :P

    Its 100% Plugin and Script, no Source Edits ..

     

    (And Yes, it will be free release once its Fully Done....)

     

    Leave Comments/Suggestions if you find something.

     

    Just Thought to share on what I am working on(I intended to open this topic 2 days later(something special that day...), but I can't resist myself from opening it now),

     

     

     

    Want to encourage me?? ;)

    btn_donateCC_LG.gif

     

     

     

     

    This is amazing mate! I just sent you some love  :blush:


  9. Gracias, voy a probar. Cual es el límite? Se configura en algún sítio?

     

    La verdad no recuerdo cual sea el límite, pero en mi caso, usé el exe 2014-02-05b parcheado con nemo, el cual me permite escoger un valor mas allá del límite, por cierto que el máximo valor que me dejó fue de 32000.

     

    En cuanto a lo del View: 40000, estás incorrecto

    Tienes que abrir tu carpeta " dataluafiles514lua filesdatainfo" dentro encontrarás varios archivos luas, los imporantes son el accessory y el accname.

     

    Accesoryid.lua:

    7dqiBpg.png Aquí estás especificando que View ID tiene tu custom Item.

     

    Accname.lua:

     

    lQUI7ql.pngAquí especifícas el resource name

     

    En mi caso, por estar haciendo uso de un cliente relativamente neuvo, solo tengo que editar 3 archivos (Client Side) para que los customs sean tomados en cuenta en el juego


  10. mind posting the script that triggers when a mvp dies and give points?

    Sure mate

    -	script	cashcash	-1,{OnNPCKillEvent:    if( killedrid && ( getmonsterinfo(killedrid, 21) & 0x0020 ) && ( killedrid <= 3000 ) ) {        if( getmonsterinfo(killedrid, 22) )            .@R = rand( 250, 500 );//-- MVP        else            .@R = rand( 40, 60 );//-- MINIBOSS        #CASHPOINTS = #CASHPOINTS + .@R;        dispbottom "Has ganado: "+ .@R +" cashpoints - Ahora tienes: "+ #CASHPOINTS +"."; }    end;}

     

     

    Because endless tower NPC are not spawn based, its attached to an specific NPC event(NPC::OnMyMobDead) (and thus don't call OnNPCKillEvent)

     

    So is there something I could do to make it work? So far, I've tried with the "if( killedrid && ( getmonsterinfo(killedrid, 21)" thing under the OnMyDeadMob inside of the endlesstower script, but nope, doesn't work

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.