Jump to content

laylayzi

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by laylayzi

  1. my current conf

    	{ "max_lv",     &battle_config.max_lv,     99,     0,      MAX_LEVEL,      },
    	{ "aura_lv",    &battle_config.aura_lv,    300,    0,      INT_MAX,        },
    
    // Maximum allowed 'level' value that can be sent in unit packets.
    // Use together with the aura_lv setting to tell when exactly to show the aura.
    // NOTE: You also need to adjust the client if you want this to work.
    // NOTE: Default is 99. Values above 127 will probably behave incorrectly.
    // NOTE: If you don't know what this does, don't change it!!!
    max_lv: 99
    
    
    // Level required to display an aura.
    // NOTE: This assumes that sending max_lv to the client will display the aura.
    // NOTE: aura_lv must not be less than max_lv.
    // Example: If max_lv is 99 and aura_lv is 150, characters with level 99~149
    //          will be sent as being all level 98, and only characters with level
    //          150 or more will be reported as having level 99 and show an aura.
    aura_lv: 300

    charracter only show aura at lv 99.

  2. i found a script NPC shop selling rental item from eathena

    -    shop    custom_seller    -1,501:20
    prontera.gat,100,100,5    script    custom seller    899,{
    mes "I will rent you customs for 1 day each.";
    callshop "custom_seller",1;
    npcshopattach "custom_seller";
    end;
    OnBuyItem:
    for(set @a,0; @a<getarraysize(.customs); set @a,@a+1){
        for(set @i,0; @i<getarraysize(@bought_nameid); set @i,@i+1) {
            if(.customs[@a]==@bought_nameid[@i]){
                if(Zeny < .zenycosts[@a]*@bought_quantity[@i]) { break; }
                set Zeny,Zeny - .zenycosts[@a]*@bought_quantity[@i];
                rentitem @bought_nameid[@i], 3600 * 24;
            }
        }
    }
    deletearray @bought_quantity, getarraysize(@bought_quantity);
    deletearray @bought_nameid, getarraysize(@bought_nameid);
    close;
    
    OnInit:
    setarray .customs[0],2383,2541,2410,2629,5013;
    setarray .zenycosts[0],1000,10000,100000,1000000,1000000;
    npcshopitem "custom_seller",0,0;
    for(set .i,0; .customs[.i]; set .i,.i+1) npcshopadditem "custom_seller",.customs[.i],.zenycosts[.i];
    end;
    }
    

    when i change the sript to -cashshop it can work, it not give me a rental item, do i miss something?

    -    cashshop    custom_seller    -1,501:20
    

    Currently not supported.

     

     

    so, example u put Balmung (without box) there, and when player buy it it will be rental for xxx minutes?

    sounds interesting, but the client can't show such icon or what is it for telling buyer that u will buy rental items maybe you can put the item on Rental tab.

    Thank you  for your answer!

  3. thank for your replies.

     

     

    i could run my server, followed these steps:

     

    + in conf folder, map/char.conf, edit userid/passwd & server ip (my 127.0.01)

    + in conf folder, inter.conf, edit the mysql info (the only thing i dont understand here is the log_login_db )

    // MySQL Log Database
    log_db_ip: 127.0.0.1
    log_db_port: 3306
    log_db_id: root
    log_db_pw: 1234
    log_db_db: zrlog
    log_codepage:
    log_login_db: loginlog (i dont have this in my db)

    +in conf folder, login.conf, edit client_version_to_connect match with clientinfo.xml <version> in data folder

    +in conf folder, subnet.conf, subnet: 255.0.0.0:127.0.0.1:127.0.0.1

    +in src\common, mmo.h, edit #define PACKETVER match with the running client

     

    then Build and run, my server is running well.

     

    The CLIENTSIDE

    +extract the RO & Renewal Full Client 2015-01-01 then patch it with http://nn.nachtwolke.com/dev/rsu/

    +copy all data folder into client folder, edit the clientinfo.xml

    and now i got problem with the ragexe file. i tried Shin&NEMO patcher to patch some client but i can make it work.

    +the client can be launch but it can not connect with server. (i already had a toppic about this problem http://hercules.ws/board/topic/8350-server-does-not-received-anything-from-client/ )

    or i got an error message box and the client can not be launched

     

    i guest my problem is the exe file, so i looking for some help to make me deal with the exe file.

    i also have some questions.

    == does the pre-renewal/renewal depend on ragexe/ragexeRe or something else?

    == if i have a ragexe, how do i know its version? (i mean the day, like 20130807)

     

    Thank for your time take a look at this!

  4. First I want to say "Thank you" for your  time to take a look at this.

     

    Im a newbie. Im looking for some guides can help me make my own basic ragnarok server (no custom skills, items, maps, ....), just like offical pre-renewal and renewal.

     

     

    iv google a lot and still cant make it works.

    already got:

    + kRO & Renewal Full Client 2015-01-01 from http://www.nickyzai.com/?p=kro

    Basic Complete Renewal Data English Folder from https://rathena.org/board/topic/66962-basic-complete-renewal-data-english-folder/

    + rathena version 17713  from  https://rathena.svn.sourceforge.net/svnroot/rathena/  and  hercules form https://github.com/HerculesWS/Hercules

    + mySQL and MS-VisualStudio2013

     

    so what i have to do with these...

     

    thank you so much!

×
×
  • Create New...