Jump to content

bWolfie

Members
  • Content Count

    848
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by bWolfie


  1. Sorry I should have explained what I'm trying to do better. I'm trying to make an npc which you can choose which buffs it gives and the buffs it will give you depends on what is active. The activity will be shown in red or green on a menu.

    Error log says I am missing a parenthesis/bracket '(' ')' somewhere in this line.

     

     

    .@selectbuff = select("^777777Return^000000:(@agicolor?"^cc0000":"^cc0000") +Increase Agility^000000:(@blessingcolor?"^cc0000":"^cc0000") +Blessing^000000");
    

  2. Hello again Hercules,

     

    I want to set a variable so when it is 1, it can appear in a message box next to writing in a 'mes' box. But I can't figure out how to make it work.

     

    E.g.

    I set my variable to 1.

    set @color, 1;
    

    And then whenever 

    if (.color == 1) {
    ^00ff00;
    }
    else {
    ^ff0000;
    }
    

     

    It will appear in a message box like so:

     

    if color is set to 1,

    mes "" + @color + "This text is bright green^000000.";

    This text is bright green.

     

    if color is set to 0 (or anything else),
    mes "" + @color + "This text is bright green^000000.";

    This text is bright green.

     

    Hope I explained it well enough. Any suggestions appreciated. Thank you.


  3.  

    where will i put the src? i got lost at that part. Thanks in advance

    Instructions are in bg_rewrite.c.

     

     

     

     


    I had a look at some of your other stuff and you are awesome! I tried setting this up on a local server but couldn't get it to work @_@ oh well

    You have some errors?

     

    Hm yes, in bg_register.txt, the error I get in console is -

    script error in file bg_register.txt line 38 column 60, parse_subexpr: need ':'

     

    And this is line 38. " get_uniqueid() " is the part in question.

     

     

            if( qiget(.@qid1) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) || qiget(.@qid2) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) )

    Hi, i have the same problem. I changed Set variable .MultipleCheck 1 to 2 and the problem continues.

    This is the error log.

     

    k1DV2OQ.png

     

     

    @@Kubix I think you got yourself in a world or trouble posting this haha this is perhaps the most sought after coding in the emulator community.


  4. Hello Hercules,

     

    I am asking on behalf of somebody. Our server wants to move its database to Hercules. We are a very old server, still running eAthena. I'm unsure of the logistics, but our server's database is very large. The server has racked up 7-8 years of data. We have already begun moving all our scripts, soon we want to move server info like accounts and stuff.

     

    Please, I am looking for any advice. I'm a little scared something will go horribly wrong. I'm not hugely clued in on the operation, but the conversion/upgrade is the SQL database and such where account, char info, etc. is stored.

     

    Thank you.


  5. I tried searching, people say they fixed their problem, but never explained how. 

     

    HergBLr.png

     

    I have updated mapnametable.txt

     

     

    neko_isle.rsw#Neko Island#

     

     

     and map_cache.dat.

     

    img

     

     

    Solutions pretty please :). also shout out to Chemical Crush for making this map


  6.  

    I had a look at some of your other stuff and you are awesome! I tried setting this up on a local server but couldn't get it to work @_@ oh well

    You have some errors?

     

    Hm yes, in bg_register.txt, the error I get in console is -

    script error in file bg_register.txt line 38 column 60, parse_subexpr: need ':'

     

    And this is line 38. " get_uniqueid() " is the part in question.

     

     

            if( qiget(.@qid1) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) || qiget(.@qid2) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) )
×
×
  • Create New...

Important Information

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