-
Posts
155 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by Echoes
-
Make friends to connect my private server
Echoes replied to Echoes's question in Installation Support
It has to be something with static IP? Though my IP doesn't change that often, I've done everything on every page with the ways they troubleshoot it with no success... Darn, hate hamachi to start using it again :/ EDIT: The game was using the clientinfo.xml from the Data folder.. not the one from the .grf... -
I know there have been plenty of threads about this topic, have read a couple of them and read plenty of guides but with no luck making my server reachable by my friends. My server is for testing purposes so I think the least I modify the least chance of getting errors. Well.. on topic, this is my configuration: [spoiler=char_athena.conf] // Login Server IP // The character server connects to the login server using this IP address. // NOTE: This is useful when you are running behind a firewall or are on // a machine with multiple interfaces. //login_ip: 127.0.0.1 login_ip: LAN IP // Login Server Port login_port: 6900 // Character Server IP // The IP address which clients will use to connect. // Set this to what your server's public IP address is. //char_ip: 127.0.0.1 char_ip: WAN IP // Character Server Port char_port: 6121 [spoiler=map_athena.conf] // Character Server IP // The map server connects to the character server using this IP address. // NOTE: This is useful when you are running behind a firewall or are on // a machine with multiple interfaces. //char_ip: 127.0.0.1 char_ip: LAN IP // Character Server Port char_port: 6121 // Map Server IP // The IP address which clients will use to connect. // Set this to what your server's public IP address is. //map_ip: 127.0.0.1 map_ip: WAN IP // Map Server Port map_port: 5121 [spoiler=subnet_athena.conf] // Subnet support file // Format is: // subnet: net-submask:char_ip:map_ip // you can add more than one subnet (max 16) // check is if((net-submask & char_ip ) == (net-submask & servip)) => ok //subnet: 255.0.0.0:127.0.0.1:127.0.0.1 subnet: 255.255.255.0:WAN IP:WAN IP The comments are just to not write on the original line of text. Also port forwarded the range 5121-6900 on TCP. http://www.canyouseeme.org/results: Success: I can see your service on WAN IP on port (5121) Success: I can see your service on WAN IP on port (6121) Success: I can see your service on WAN IP on port (6900) My friends are getting the 'Failed to Connect to Server' message after waiting like 5 seconds on their executables. My kRO Folder is the same as theirs, since I passed it to them, same .exe, same everything. [spoiler=clientinfo.xml] <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>korea</servicetype> <servertype>sakray</servertype> <connection> <display>Servidor de Pruebas</display> <desc>Ragnarok</desc> <balloon>¡Prueba de Scripts!</balloon> <address>WAN IP</address> <port>6900</port> <version>45</version> <langtype>0</langtype> <registrationweb></registrationweb> <aid> <admin></admin> <yellow></yellow> </aid> </connection> </clientinfo> There is no message on mapserv/charserv/logserv when they try to login. Hope you guys can help me with this problem c:
-
Qué extraño, ¿estás segura que declaraste la nueva .grf en el DATA.ini de tu kRO? Para que quede algo así.. [Data] 0=rathena.grf 1=newprontera.grf 2=data.grf 3=rdata.grf Conozco ese error y lo he arreglado varias veces tan solo siguiendo los pasos que te mencioné.. Otra cosa sería modificar tu .grf para ponerle los gráficos antigüos de Prontera siguiendo el link que te dio Alexandria.
-
Hola, Te copio un link de Tokeisobre este error. Él creó este .grf para solucionar este problema. http://www.mediafire.com/download/7hcz6u9vl4vjhb4/newprontera.grf Una vez lo tengas lo fusionas con el .grf de tu server o en el DATA.ini le dices que también lea ese .grf Saludos y ojalá se solucione tu problema
-
Thanks you guys for the replies and the awesome suggestions. Hehe, trial and error always worked with me XD so it's awesome to have it in my PC C: Will learn some C code to know the basics, then enter the .src jungle of RO @_@ Again, thank you guys for your suggestions and opinions C:
-
@DanielArt El comando getcastledata también puede llevar un tercer argumento getcastledata("<map name>",<type of data>{,<event>}) Fuente: https://rathena.org/wiki/Getcastledata Quizás ese 0 actúa para que siga el script.. Como dice Ziu, mejor contacta al creador del Script para que resuelvas dudas con él.
-
Hola, Qué bueno que te sirvió el script, y gracias por mantener los créditos. Mmm, variedad de script ahora mismo no tengo Saludos
-
getcastledata .@Castle$,0,"Agit#" + .@Castle$ + "::OnRecvCastle",; Está aquí ( ,; ), borra la ( , ) y debería servirte.
-
Qué tal razmux, Bueno, aquí te dejo un healer básico C: Te agradecería no borraras los créditos Ojalá te sirva. // Precio por servicio. .PrecioHeal = 0; En esta parte puedes editar el precio que cobrará por servicio. ____ EDIT Obviamente debes agregar los demás duplicados a tu gusto C: Está especificado el lugar donde podrías declararlos. Si quieres un Healer que simplemente no te hable y te cobre nada más (y cure), me dices. Healer.txt
-
Make sure you are using the lastest data translation folder in your .grf & diffed your exe to read .lua before .lub Hope that helps c:
-
Well, Sorry for the late responses on this, I have been working hard on my script and luckly I got everything working now, sadly without the array I was requesting help with :C Will follow the suggestions you guys gave me so far and I will continue testing calling and editing #vars through arrays, thank you. Aaaaand, I found this: Resume of the allowed variable and array scopes ----------------------------------------------- +==========+======+=======+ |VarType | Norm | Array | +==========+======+=======+ |#Int | OK! | FAIL! | +----------+------+-------+ Maybe this has something to do with the success of calling and editing those #vars with an array e_e Again, thank you guys for your help
-
I also knew nothing when I started edditing NPCs and reading all the .txt this game has. script_commands is like my bible, lol. Just was wondering where do the major scripters learned to edit and create .c files. I see no reference to starts, as I saw in .txt scripts. Would be awesome to learn .c too c:
-
Hello rA! Lately I have been wondering how did the source code scripters learn to script source :0? I've tried to edit things over there but always end with a terrible mess x.x I think source edition is a must as a rA scripter career, but for me it's too difficult x.x at least for now Sorry for the narcissism (pronouns everywhwre) and thanks for reading C:!
-
Thank you for your efforts to help C: Now, my whole script is posted above, and now that I have the first part of the script done, I want to set those variables to numeric value 1, now they are 0 but I can't set them through script to 1 :C
-
Try this: - script annouc -1,{ OnClock1857: // First Annouc mapannounce "prontera", "Message 2!",0; sleep 20000; // 20 Second. mapannounce "prontera", "Message 1!",0; sleep 10000; // 10 Second. addrid(1); message strcharinfo(0)," SECOND RESULT "; detachrid; // Second Annouc mapannounce "prontera", "Number 4!",0; sleep 20000; // 20 Second. mapannounce "prontera", "Number 3!",0; sleep 10000; // 10 Second. addrid(1); message strcharinfo(0)," Third RESULT "; detachrid; end; } It may be something with the mes, at least with message you will troubleshoot your problem. Please note I didn't test the script (for the detachrid; part), please inform any mapserv.bat error you getting.
-
Hello, thank you all for responding. @secretdataz It did not retreive the variable value :C @Ninja Why custom item o.0 At least, didn't found any string usage information. @Capuche Well, adding those " " to the variables will make the script to retreive the entire variable name, no it's value :C Well, was testing further and I found that this will call the numeric value of the variables: setarray @Var_Array$[0], #Player_Variable01, #Player_Variable02, #Player_Variable03; for(.@i=0; .@i<getarraysize(@Var_Array$); .@i++){ mes @Var_Array$[.@i]; set @Var_Array$[.@i],1; } Now I need to set them to the desired number x_x (the set in that for doesn't work, or at least when talking to the NPC again it won't show a different variable value)
-
Try changing the messages, as I see your announces contains the same display information, so you will not know if the announce is the first or second one
-
Hello c: Well, my doubt is, is there a way to call a variable (#Player_Variable) using an array (.@Array$[0]), and then set it to desired number? I'm doing something like this, but doesn't work: - script FromArrayToVariable -1,{ setarray @array_of_variables$[0],#Player_Variable01,#Player_Variable02; for(.@i=0; .@i<getarraysize(@array_of_variables$); .@i++) if(getd("@array_of_variables$["+(.@i)+"]") != 1) setd "@array_of_variables$["+(.@i)+"]",1; end; } (example script) Also, getting this error with the script: [Error]: script:op_2: invalid data for operator C_NE [Debug]: Data: string value="0" [Debug]: Data: number value=1 I'm trying this script to avoid writing like 200+ lines :C Help please
-
Try adding this to your kRO/skin/(skin folder you using) Hope it helps card slots.rar
-
Yeah, since the server reads the script linearly, you can have a whole NPC in one line (on theory). And for the optimized lines, like there: case 4: getitem 909,1; break; The way I do this is: case 4:(TAB)getitem 909,1;(TAB)break; The tabs sort the script a bit, making it more friendly to the sight. Glad you liked it.
-
- script cofresdeltesoro -1,{ OnNPCKillEvent: if(killedrid == 1732) set .@var,rand(1,10); switch(.@var){ case 1: getitem 909,1; break; case 2: getitem 7126,1; break; case 3: getitem 7300,1; break; case 4: getitem 909,1; break; case 5: getitem 2610,1; break; case 6: getitem 728,1; break; case 7: getitem 909,1; break; case 8: getitem 909,1; break; case 9: getitem 7126,1; break; case 10: atcommand "@monster 1474"; break; } end; } Working perfectly for me.. Try to use this as a guide, understand it and you will improve your scripting skills c:
-
You sure to write the map name correctly? Anyways, use this line of script as an example: moc_prydb1,0,0,0,0 monster Poring 1002,70,0,0,0 And edit to your liking. Chance the name of 'Poring' to whatever you want, it don't has to be the same as the monster you want to be there, just the name to show of them. 1002 is where you will input the monster ID of your liking. 70 will be the ammount of that monster. You can paste that line of code in any script you using, not just the script_monster.conf or so. Hope it helps Sorry for the bad english, I'm a bit sleepy
-
Client keeps crashing when using this item
Echoes replied to PandaLovesHamster's question in Client-side Support
The only wrong thing I see in that code is that there is no space between: ORT",1;item That may cause your crash. Just input a space after ; (or before i) Is shown in mapserv.bat any error message related to your item? Also, I will assume you are using rAthena as the emulator of choice. -
I suggest you to use microsoft visual studio, but guided by the version of your .sln file. Example: if you trying to edit rathena-13.sln, use visual studio 2013 and so
-
Edit those close; commands and write break; instead. C: ___ EDIT: Also, that last break; (after the switch (){}) may cause an 'unexpected break; usage' error, in that case you just comment that to troubleshoot.