Jump to content

Cyro

Members
  • Posts

    1138
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by Cyro

  1. "configure: error: MySQL not found or incompatible" You need libmysqlclient-dev if you already installed it run this command apt-get install libssl-dev
  2. take a look at this guide once
  3. - script FloatingRates -1,{ OnInit: OnClock0001: if(gettime(4)==6 || gettime(4)==0 ) { set .br,getbattleflag("base_exp_rate")*2; set .jr,getbattleflag("job_exp_rate")*2; setbattleflag("base_exp_rate"), .br; setbattleflag("job_exp_rate"), .jr; atcommand "@reloadmobdb"; end; } if(gettime(4) == 1) { announce "Weekend Exp Event is finished",bc_all,0xFF6060; atcommand "@reloadbattleconf"; atcommand "@reloadmobdb"; } end; OnMinute02: if(gettime(4)==6 || gettime(4)==0 ) { announce "Weekend Exp Event(Base:"+.br/100+"x, Job:"+.jr/100+"x) is active!!",bc_all,0xFF6060; } end; }
  4. i was referring weather you are trying to change patcher or client.exe files via patch
  5. here you can change it https://github.com/rathena/rathena/blob/master/src/map/atcommand.c#L1890
  6. you are trying to patch .exe file?
  7. - script reward -1,{ OnInit: bindatcmd "soul", strnpcinfo(3) +"::OnLink"; end; OnLink: switch ( BaseJob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( Upper == 1 && BaseLevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } end; }
  8. Cyro

    NO MSG

    which client version do u use ?
  9. if (rand(100) < 50) //chnage % as your needs getitem 512,1; // your item id here oh i missunderstood *facepalm*
  10. yes! that's what that script does
  11. wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo yum -y install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran scl enable devtoolset-2 bash source /opt/rh/devtoolset-2/enable run this commands to update your GCC, then check your GCC version and i suggest you to update your os to centos 7 make sql make server still works fine
  12. prt_in,86,91,2 script Gold Coin US Exchanger 100,{ function Exchange; switch( select( "Yggdrasilberry Box", "Royal Jelly Box", "Elunium Box", "Costume Iron Chain", "Costume Indian Hairband", "Costume Wizard Hat", "Costume Memmory of Lovers", "Costume Spiky Band", "Costume Vicious Stop Bandage", "Costume Vicious Mind Aura" )){ // Exchange( <Item Gained>,<Amount>,<Item Required>,<Amount> ); case 1: Exchange( 13517,1,7720,12 ); break; case 2: Exchange( 13516,5,7720,10 ); break; case 3: Exchange( 12997,10,7720,11 ); break; case 4: Exchange( 19528,10,7720,18 ); break; case 5: Exchange( 31130,10,7720,25 ); break; case 6: Exchange( 20093,10,7720,18 ); break; case 7: Exchange( 20376,10,7720,28 ); break; case 8: Exchange( 19527,10,7720,18 ); break; case 9: Exchange( 19825,10,7720,17 ); break; case 10: Exchange( 20407,10,7720,35 ); break; default: mes "Wrong Selection"; break; } close; function Exchange { mes "Exchange "+getarg(3)+" "+getitemname( getarg(2) )+" into "+getarg(1)+" "+getitemname( getarg(0) )+"?"; if(select("Yes","No")==1){ if( countitem( getarg(2) ) < getarg(3) ){ mes "Sorry you didnt have enough Items to trade."; close; }else{ mes "Done"; delitem getarg(2),getarg(3); getitem getarg(0),getarg(1); } } return; } }
  13. Moved topic into proper section, download updated kro grf and find this files, patch them into yours servers grf
  14. #CASHPOINTS,#CASHPOINTS+.@R;
  15. Cyro

    R>Refine npc

    try searching next time https://pastebin.com/RQkvaSRq
  16. if( !getcharid(2) ){ dispbottom "You dont have a guild"; } end;
  17. you need to point out your domain dns/name servers to your vps ip
  18. guides included in their websites you need to add a new webpage with provided files and configure it
  19. exactly he just suggesting you his opinion to use different operating system! since he ffeels its better and stable , i use centos so i gave guides for it
  20. there is different kinda wiki templates available in web the example you showed is from is this https://www.mediawiki.org/wiki/MediaWiki i personally use dokuwiki since its easy to edit pages https://www.dokuwiki.org/dokuwiki#
×
×
  • Create New...