Jump to content

laylayzi

Members
  • Content Count

    22
  • 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:20prontera.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 

  3. what i am trying to do is put a flag for my charactor.

    orthers variable have their using purpose (maybe, as i can see at the columname) that i cant modifier.

    Im a newbie in scripting so maybe there is an other way to set a variable bind to character but i dont know.

    Thank for your time!


  4. Hi! There is my problem.

    I want to add a new parameter into the char table but I don't know how to work with it.

     

    For example:

    i add a new column "count" into the char table. (integer default: 0)

    and i want every i type a command (ex: @count) or talk with NPC, it can show me the current value of "count" then +1 

    so:

    the first time i use @count (or talk with NPC) it will show me: 0

    the secondtime i use @count it will show me: 1

    ...

     

    Thats it.

    Thank for your time!


  5. 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 Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: rootlog_db_pw: 1234log_db_db: zrloglog_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 srccommon, 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://herc.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!


  6. 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!


  7. Hi !

    there is my problem:

     

    im using:

    + kro client from      http://www.nickyzai.com/?p=kro

    + data folder from      http://herc.ws/board/topic/901-basic-complete-renewal-data-english-folder/

    + ragexe 2013-08-07 from      http://herc.ws/board/topic/630-2013-ragexe-and-diff-up-to-date-2013-08-07/

     

    i copied all data folder into kro folder, replace the Ragexe.exe (20130807 patched with NEMO-master)

    edited the clientinfo.xml    

     

     

     

    <?xml version="1.0" encoding="euc-kr" ?><clientinfo>	<desc>Ragnarok Client Information</desc>	<servicetype>korea</servicetype>	<servertype>sakray</servertype>	<hideaccountlist />	<passwordencrypt />	<passwordencrypt2 />	<extendedslot />	<readfolder />	<connection>		<display>Ragnarok</display>		<desc>Ragnarok Online</desc>		<balloon>this is a tool tip</balloon>		<address>127.0.0.1</address>		<port>6900</port>		<version>30</version>		<langtype>1</langtype>		<registrationweb>REGISTRATION URL HERE</registrationweb>		<yellow>			<admin>2000001</admin>			<admin>2000002</admin>			<admin>2000003</admin>		</yellow>		<loading>			<image>loading00.jpg</image>			<image>loading01.jpg</image>			<image>loading02.jpg</image>			<image>loading03.jpg</image>			<image>loading04.jpg</image>			<image>loading05.jpg</image>			<image>loading06.jpg</image>			<image>loading07.jpg</image>			<image>loading08.jpg</image>			<image>loading09.jpg</image>			<image>loading10.jpg</image>		</loading>	</connection></clientinfo> 

     

     

     

    when i click on the Ragexe.exe my gamewindow open good, without error

     

     

    SERVER SIDE

     

    + i got the server from         http://github.com/HerculesWS/Hercules

    i'v changed  the    char/map/inter.conf and the mmo.h    match with mySQL and Ragexe (#define PACKETVER 20130807) then build with MS-Visualstudio 2013

     

     

     

    but when i try to login, my server does not recived anything

    RFi9DGJ.png

     

     

     

    im a newbie

    i dont know what iv missed

    help me please!

×
×
  • Create New...

Important Information

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