Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/11/18 in all areas

  1. 1 point
  2. maybe in your npc\custom folder have custom script for change day and night mode like mine.
    1 point
  3. - script DieDieDie -1,{ OnPCDieEvent: .@party_id = getcharid(1); if (getcharid(0) != getpartyleader(.@party_id,2)) { end; } mapannounce strnpcinfo(4),"The party leader of "+getpartyname(.@party_id)+" has died in battle. ",0,"0x00ff99"; end; }
    1 point
  4. you can set up the config for night/day in conf/battle/misc.conf :))
    1 point
  5. conf/battle/misc.conf#L64-L75 its daytime by default....
    1 point
  6. What a coincidence, that's exactly how I update all my official RO data. The required magic for it is in command line switches: rsu.exe /updateonly
    1 point
  7. https://github.com/rathena/rathena/blob/master/conf/battle/misc.conf // Choose if server begin with night (yes) or day (no) night_at_start: yes // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). // Except 0, minimum is 60000 (1 minute) day_duration: 7200000 // Define duration in msec of the night (default: 1800000 = 30 min) // Set to 0 to disable night cycle (but not @night GM command). // Except 0, minimum is 60000 (1 minute) night_duration: 3600000
    1 point
  8. Dropping the auto assignment just to force us assing to a variable here and there? Hmm, seems like one more line: set, select and then switch(var).
    1 point
  9. - script Unfro -1,{ OnPCStatCalcEvent: if (readparam(bStr) == 1 ){ bonus2 bResEff,Eff_Freeze,10000; end; } } If str = 1 = 100% Frost Resist
    1 point
  10. This isn't a full representation of what you want, but it's a start. I can't even remember if OnTouch works with moving NPCs. function script fWalkable { .@map$ = getarg(0); freeloop(1); do { .@rXr = rand(getarg(1)); .@rYr = rand(getarg(2,getarg(1))); } while (checkcell(.@map$,.@rXr,.@rYr,cell_chkwall) || checkcell(.@map$,.@rXr,.@rYr,cell_chkcliff) || checkcell(.@map$,.@rXr,.@rYr,cell_chknopass) || checkcell(.@map$,.@rXr,.@rYr,cell_chknoreach)); return (.@rXr<<12)+.@rYr; } - script Kaboom 111,{ end; OnTouch: if( rand(100) < 50 ) atcommand "@nuke " + strcharinfo(0); else getitem 501,1; disablenpc strnpcinfo(0); movenpc strnpcinfo(0), 0, 0; end; S_MoveNPC: explode(.@tmp_ary$,strnpcinfo(2),"|"); .@walkable_xy = fWalkable(strnpcinfo(4), atoi(.@tmp_ary$[0]), atoi(.@tmp_ary$[1])); .@y = .@walkable_xy & 4095; .@x = .@walkable_xy >> 12; movenpc strnpcinfo(0), .@x, .@y; enablenpc strnpcinfo(0); sleep 60000; callsub S_MoveNPC; OnInit: disablenpc strnpcinfo(0); if( strnpcinfo(2) != "" ) callsub S_MoveNPC; } prontera,0,0,0 duplicate(Kaboom) Kaboom 1#300|300 111,4,4
    1 point
  11. Version 1.0

    210 downloads

    Hello guys, I would like to share one of my simple and small program that i used to backup SQL Database. I am new in making programs as i am learning it in school together with php, so i hope you guys can pardon my noob code. It been created to help my dad and brother to backup their mysql database remotely. Now i would like you guys to try it and give suggestions on the programs. The field in the programs need to be write manually as that is what my dad and brother requirements. This is the post about the previous version (Discussion Post) # The program have been updated to v1.1 using .net 4.5 slightly change the way backup is save (using only .sql) added restore function with create database option (create database function will only create to a non-exist database) change how the connection been to the MySql server is made The guides will be updated later. Please try it and give suggestions for me to improve. You can contact me at [email protected]. If you guys like my work you can buy me a coffee so i can keep my money for my school p/s : If you would like to take a look or use the source code, it been upload to github. Please comment about the source so i can improve the way i write the code. Thank you. SimpleMySql Github
    Free
    1 point
  12. Hello guys, I would like to share one of my simple and small program that i used to backup SQL Database. I am new in making programs as i am learning it in school together with php, so i hope you guys can pardon my noob code. It been created to help my dad and brother to backup their mysql database remotely. Now i would like you guys to try it and give suggestions on the programs. The field in the programs need to be write manually as that is what my dad and brother requirements. # The program have been updated to v1.1 Download : MySql Tools.rar using .net 4.5 slightly change the way backup is save (using only .sql) added restore function with create database option (create database function will only create to a non-exist database) change how the connection been to the MySql server is made The guides will be updated later. Please try it and give suggestions for me to improve. You can contact me at [email protected]. If you guys like my work you can buy me a coffee so i can keep my money for my school p/s : If you would like to take a look or use the source code, it been upload to github. Please comment about the source so i can improve the way i write the code. Thank you. SimpleMySql Github feature plans : ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ V1.0
    1 point
  13. src\common\mmo.h Find: #define MAX_ZENY 1000000000 Replace #define MAX_ZENY <value that you want>
    1 point
  14. I've installed 17297 svn When configuring used ./configure --enable-packetver=20120410 In client use this exe http://supportmii.com/ro1/Clients/2012-04-10aRagexeRE.exe When i'm trying to connect, i pass authorization. when i select my char server in a few time a see message "failed to connect" [Status]: Request for connection of shambhu (ip: 93.94.*.*). [Notice]: Authentication accepted (account: shambhu, id: 2000108, ip: 93.94.*.*) [Status]: Connection of the account 'shambhu' accepted. [Info]: Closed connection from '93.94.*.*'. Last message i see immediately after auth. When disable iptables still don't work. I see many same posts. May be, rAthena need know my server external ip ? My server is in some lan, rA autodetect my lan ip and use it. Server have'nt interfaces with "real" wan ip. My provider forward all packets going to my external ip to my lan ip. I'm trying to connect from other lan using external ip. (i sucessfully connect to ssh and other services this way) Solution is using external ip, although server haven't it in interfaces and other services work listening lan ip. May close theme
    1 point
  15. disable the other castle at npc/script_guild.conf
    1 point
  16. b]68430[/b] change this to your desired emperium HP
    1 point
  17. Search 1288 in mob_db.txt 1288,EMPELIUM,Emperium,Emperium,90,[b]68430[/b],0,0,0,1,60,71,40,50,1,17,80,50,26,20,10,12,0,8,26,0x120,300,1288,288,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    1 point
×
×
  • Create New...