Jump to content

Winz

Members
  • Posts

    1479
  • Joined

  • Last visited

  • Days Won

    14

Community Answers

  1. Winz's post in RFYL Automated *HELP* was marked as the answer   
    StartEvent: to

    onClock1000: onClock2200: StartEvent:
  2. Winz's post in Groups.conf Warning help was marked as the answer   
    replace
    id: 0 /* group 0 is the default group for every new account */     name: "Player"     level: 0 -->> inherit: ( "Player" ) /* can do everything Players can and more */ with:
    id: 0 /* group 0 is the default group for every new account */     name: "Player"     level: 0     inherit: ( /*empty list*/ ) The problem is: you are assigning commands for normal players, and you ask the server to read the permissions given to normal player. when the server is reading the commands for normal players, server is asked to read the permissions given to normal player. when the server is reading the commands for normal players, server is asked to read the permissions given to normal player.
     
    in other word, yes, infinite loop.
     
    group ID 0 shall not inherit commands from others since it's the lowest one.
  3. Winz's post in About Item_db.txt and item_db.conf was marked as the answer   
    import folder? which?
     
    I can't tell..
    the settings will still work. it doesn't matter if you're using txt or sql.
  4. Winz's post in Help on making this script work was marked as the answer   
    First of all, you need to comment the comments.
     
    //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.0 //===== Compatible With: ============================================= //= Any eAthena Version //===== Description: ================================================= //= Get Points every successful hours of gameplay, you cannot get //= the points even if you miss a second or a minute. A player will //= get a very big bonus if they played 12 hours consecutively //= or without logging out of the game. If the player is vending //= the script will then stop. //===== Additional Comments: ========================================= //= You can modify the script to your liking. //= The default points is Kafrapoints change it anyway if you like. //= 1.1 = Check Chatting too //= 1.2 = 5 Minute Idle Check & @at/@autotrade check. //= 1.3 = Corrected the current balance line on 12 Hours Consecutive //==================================================================== -    script    hourlypoints    -1,{ //Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end;      OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) {     dispbottom "The Ragnarok Online hourly cash points event stopped because you were vending / chatting. Please relog if you wish to start again.";     stopnpctimer;     end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) {     set @afk, @afk + 1; } //If move timer resets else {     set @afk, 0; }     set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 10 Minutes if(@afk == 10) {     dispbottom "The Ragnarok hourly points event stopped because you were idle for 5 minutes. Please relog if you wish to start again.";     stopnpctimer;     end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 60){     set @minute,0;     set .@point_amt, 10; //Points to get every hour (default: 10)     getitem 7227,10;     dispbottom "You received  TCG Cards by staying ingame for 1 hour";     set @consecutive_hour, @consecutive_hour + 1;     } stopnpctimer; initnpctimer; end; } //--End of the Script  
    hourly.txt
  5. Winz's post in problem with setd and getd was marked as the answer   
    getarraysize (.@headgear); will of course return the value of 1.
    think about this:
    .@i = 0;
    .@j = 1;
    .@headgear = getd(".headgear" + .@i + "_" + .@j); ---> .@headgear = .headgear0_1;  right?
     
    Therefore, getarraysize(.@headgear); will ofc be 1. (because .headgear0_1 is the same as .headgear0_1[0] (C's rule))
    (could be different in implementation, tho..)
     
    but if you want to print all elements on the array, then it shall be like this:
    for (.@i = 0; .@i <10; .@i++ <or i think: set .@i, .@i+1> {   for (.@j = 0; .@j<=1; .@j++) { for (.@k = 0; .@k<10; .@k++){     .@headgear = getd(".headgear" + .@i + "_" + .@j + "[" + k + "]");     debugmes .@headgear; }   } } if you want to print the item name, then.....
    for (.@i = 0; .@i <10; .@i++ <or i think: set .@i, .@i+1> {   for (.@j = 0; .@j<=1; .@j++) { for (.@k = 0; .@k<10; .@k++){      .@headgear = getd(".headgear" + .@i + "_" + .@j + "[" + k + "]");      .@headgearname$ = getitemname(.@headgear);     debugmes .@headgearname$; }   } } is it the question?
  6. Winz's post in Request a script that can input same ip cant join the event map was marked as the answer   
    okay, nvm.
     
    AS I know, you are NOT eligible to get client's MAC address. the only thing you can ban is their character, ID, and IPv4 IP (which if the player got a dynamic IP, will be able to be bypassed by restarting modem)
     
    What do you wish from @afk or @afk2? THIS?
     
    http://rathena.org/board/topic/71389-afk-with-afk-hat/
    or this?
    http://rathena.org/board/topic/82415-afk-command/?p=233804
     
    found from here:
    http://lmgtfy.com/?q=rathena+%40afk
  7. Winz's post in Failed to Authenticate, 5011 was marked as the answer   
    SVN Revision: 12527
     
    still using SVN? we're using GIT already. upgrade it first then ask next question
     
    http://rathena.org/wiki/Transition_from_SVN_to_GIT
    or delete everything, start from a new scratch.
     
     
    *EDIT*: avoiding future questions like "How do I upgrade it?"
  8. Winz's post in Accidently drop login db in phpmyadmin was marked as the answer   
    login to your SQL server (through phpmyadmin or MySQL Query Browser or Workbench) as root / ragnarok (as long as you have the permission to create a table) then open /sql-files/main.sql. search: `login`.
     
    copy the whole section and paste it to the SQL box on the application (PMA, MySQLQB, MySQLWB) and execute it.
     

  9. Winz's post in Don't know how to make a client/grf was marked as the answer   
  10. Winz's post in cant use custom mysql DNS was marked as the answer   
    i believe you are hosting the MySQL db server on 000webhost.com or something like that right, (idhostinger, or others). They provide the free database server and you can use it, BUT it only works on localhost. what I mean is they do not open the 3306 port.
     
    If you have a MySQL Manager (MySQL Workbench, QueryBrowser, Server Administrator, or others), and ask to connect to your free MySQL server, connection will be always rejected unless you pay for the premium services.

    indo?
  11. Winz's post in Please HELP ME. Im Loosing my file char-server was marked as the answer   
    1. you're not using the latest git. start from here. no further question
    http://rathena.org/wiki/Category:Installation
     
    are you still using SVN? how do you checkout a repository? svn checkout or git clone?
     
    however, I told you to do ./configure --enable-64-bit. did you do that or is your system 32-bit?
    and of course, char-server.exe is not there, on the GIT repo. each system that wants to run it must build it by themself
  12. Winz's post in LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt was marked as the answer   
    Maybe this will solve your question.
    I use VS 2010, not moving to the others except there's a perfectly good reason for that.
  13. Winz's post in Setting up my server in vps was marked as the answer   
    judging on the command, you're using centos?
    http://rathena.org/wiki/Installation_%28CentOS%29
    ubuntu?
    http://rathena.org/wiki/Installation_%28Debian%29
  14. Winz's post in hpw do i replace the fixed morrocc with the destroyed one? was marked as the answer   
    morrocc has been rebuilt?
    *going away checking morrocc*

    hahaha,
     
    know something about adding custom map? it's basically needs you to open mapcache.dat using weemapcache. open it and delete morrocc. extract the destroyed morrocc map from data.grf (yes, data.grf) and rename the 3 files as morrocc.gat, .rsw, .gnd. then, load those 3 maps to your mapcache.dat. save / rebuild it and upload it to the server, and restart the server. you should have it.
     
    by doing this, you will no longer have the rebuilt morrocc map unless you make a 'new' map.
     
    referrence: http://rathena.org/wiki/Custom_Maps
    weemapcache: http://rathena.org/board/topic/53424-weemapcache/
  15. Winz's post in starting the server was marked as the answer   
    hmm, mind setting up a new one with the guide from rA's Wiki? don't use the svn anymore. use GIT
  16. Winz's post in 17704 trunk has all bugs u can imagine !or is it from the data ? was marked as the answer   
    in src/config/renewal.h there are many configuration. DO NOT COMMENT #define RENEWAL if you want to have at least 1 renewal system. comment out which you don't use and don't comment them if you wanna use them.
  17. Winz's post in CERES CP was marked as the answer   
    English, please, considering this is an international forum
    or you may go to the language-specific sub forum
  18. Winz's post in 2013-08-07 and Loki Launcher was marked as the answer   
    I solved it, I messed up with my parameters.
     
    Thanks for replying,nanakiwurtz
    but, I'm 100% sure that there's no such problem
     
    *pulling away my question, slowly, silently*
     
     
    *slowly*
     
    *slowly*
     
    *poff*
  19. Winz's post in how to make RO server self hosting using WAN ip or my main IP? was marked as the answer   
    IP has some types: LAN IP, WAN IP, local IP, and others
    say it as "WAN IP".
     
    on clientinfo, change it to: <address>your.wan.ip.address</address>
    on char_athena.conf:
    login_ip: 127.0.0.1
    char_ip: your.wan.ip.address
     
    on map_athena.conf:
    char_ip: 127.0.0.1
    map_ip: your.wan.ip.address
     
    then, forward ports: 80 (if needed), 6900, 5121, 6121 to your PC that's running the RO server. refer http://portforward.com
     
    this should do the trick. except if your ISP isn't allowing you to open ports. If they do, ask them to open it.
     
    your wan ip address: http://whatismyip.com
  20. Winz's post in brAthena x rAthena was marked as the answer   
    if i'm not mistaken, somebody is making the application that allows you to do that in bRathena forum. check and ask there.
  21. Winz's post in Server Help! was marked as the answer   
    misconfiguration in conf/map_athena.conf and char_athena.conf and login_athena.conf (not really)
     
    WAN playing?
    char_athena.conf:
    login_ip: 127.0.0.1
    //bind_ip: 127.0.0.1
    char_ip: your wan IP
     
    map_athena.conf:
    char_ip: 127.0.0.1
    //bind_ip: 127.0.0.1
    map_ip: your wan IP
  22. Winz's post in Nothing happens after clicking LOKI launcher was marked as the answer   
    start the setup.exe thing. get the blueghostsetup.exe that's for 2013 clients. search on my posts. I've posted it for thousand times
  23. Winz's post in help Maybe a portforwarding issue? was marked as the answer   
    1. Make sure you get the client from rAthena's GIT, not SVN even though the guide you followed says you need to get it from SVN. (get from GIT, the rest are the same).
    2. If you would like to, you can configure AZTECH to put your DLINK on DMZ (100% open to public). remember to chage the default login passwords (admin/admin)
    3. you can stop forwarding port 3306 if you're running the SQL, RO server, and CP on the same machine.
    4. this should do the magic:
    char_athena.conf:
    login_ip: 127.0.0.1
    char_ip: your.wan.IP.address (not sth.*.*.sth)
     
    map_athena.conf:
    char_ip: 127.0.0.1
    map_ip: your.wan.IP.address (not sth.*.*.sth)
     
    5. revert subnet_athena.conf (many problems comes from here. just reset it.)
    default: subnet: 255.0.0.0:127.0.0.1:127.0.0.1
     
    kindly reply this here and PM me. I don't think I can stick around here so often
  24. Winz's post in a language error was marked as the answer   
    translate the language of NPC scripts? /npc/ everything right? (OP)
    anyhow,
     
    from what language to what language?
    how did you do it?
    do you use notepad++?
    do you save it with a correct encoding?
    do you get the same result when re-opening the file?
     
    langtype, make sure it's correct. is it reading the clientinfo.xml on Data folder or from the GRF? for testing purpose, remove the one on the grf.
  25. Winz's post in Skill Message ("Skill Name !") was marked as the answer   
    lua files/skillinfoz/skillinfolist.lua lub
    you can change it there. but, you will change the skill name on the skill tree as well.
×
×
  • Create New...