-
Posts
1138 -
Joined
-
Last visited
-
Days Won
30
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Cyro
-
Rejected from server | Incorrect version
Cyro replied to Expl0iter's question in Client-side Support
Can you you post your error here? -
Rejected from server | Incorrect version
Cyro replied to Expl0iter's question in Client-side Support
It might be cause of packet obsession If you are not using it try disabling it by commenting // in core.h and recompile -
Stat seller script request || Item Required to buy Stat points
Cyro replied to AinsLord's question in Script Requests
prontera,150,150,5 script Stat Dealer 99,{ set .@item,7720; // Adjust the item id here set .@name$,"[Stat Dealer]"; //Name of NPC in Dialogue can be changed here mes .@name$; mes "Good-day, I'm here to sell you Stat Points, each 10 Stat Points will cost you 1 "+getitemname(.@item)+" (id: "+.@item+")"; if(countitem(.@item) < 1) goto L_NoPay; next; mes .@name$; mes "How many "+getitemname(.@item)+" would you like to use?"; mes "You have ^00FF00"+countitem(.@item)+"^000000 "+getitemname(.@item)+""; mes "Use '0' to cancel transaction."; input .@input; if(.@input == 0) close; if(.@input > countitem(.@item)) goto L_NoPay; next; mes .@name$; mes "You would like to purchase "+.@input*10+" Status Points with "+.@input+" "+getitemname(.@item)+""; switch(select("Yes:No")){ case 1: mes .@name$; mes "Transaction is completed, just the last few steps.."; next; mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; next; mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; mes "..."; next; mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; mes "..."; mes "...."; next; delitem .@item,.@input; set StatusPoint, StatusPoint + (.@input*10); mes .@name$; mes "Transaction is completed, just the last few steps.."; mes ".."; mes "..."; mes "...."; mes "Transaction has been completed."; mes "Have a nice day."; close; case 2: mes .@name$; mes "Have a nice day."; close; } L_NoPay: mes "I'm sorry but you don't have the required payment to proceed"; close; } -
Please upgrade your sql database using upgrade sql files in sql-files/upgrades This particular error will be solved by upgrading using this file https://github.com/rathena/rathena/blob/master/sql-files/upgrades/upgrade_20160814.sql
-
@reloadatcommand
-
Daily quest every 12 hours not 24 hours help script
Cyro replied to caspa's question in Scripting Support
Change if(extime+86399 > gettimetick(2)) { mes "Please wait 24 hours."; close; } To if(extime+28800 > gettimetick(2)) { mes "Please wait 8 hours."; close; } -
Daily quest every 12 hours not 24 hours help script
Cyro replied to caspa's question in Scripting Support
its am and pm based script try this one if u want to make it once a day prontera,146,143,6 script Hunting Quests 997,{ if(extime+86399 > gettimetick(2)) { mes "Please wait 24 hours."; close; } if (getgmlevel() >= 80) goto GM_Menu; L_START: if (getgmlevel() >= 80) next; mes "[Daily Quest]"; mes "Hello "+strcharinfo(0)+"!"; mes "Do you want to start today's Quest?"; mes " "; mes "Total Daily Quests Finished: ^008800"+$DailyQuestTotal+"^000000."; mes "Today Daily Quests Finished: ^0000FF"+$DailyQuestToday+"^000000."; menu "Yes!",-,"Nahh",L_Close; next; mes "[Daily Quest]"; mes "You'll need these item for Today's Quest:"; mes "^FF0000"+getitemname($QuestItem1)+"^000000 x "+$QuestItem1HM+""; mes "^FF0000"+getitemname($QuestItem2)+"^000000 x "+$QuestItem2HM+""; mes "^FF0000"+getitemname($QuestItem3)+"^000000 x "+$QuestItem3HM+""; mes "In exchange you will get ^0000FF"+getitemname($DailyQuestPrize)+"^000000 x "+$DailyQuestPrizeHM+""; next; mes "[Daily Quest]"; mes "Do you have the items?"; menu "Yes! I do.",-,"Gimme some time.",L_Close; if(countitem($QuestItem1) >= $QuestItem1HM) && (countitem($QuestItem2) >= $QuestItem2HM) && (countitem($QuestItem3) >= $QuestItem3HM) goto FinishQuest; next; mes "[Daily Quest]"; mes "You only have "+countitem($QuestItem1HM)+" of ^FF0000"+getitemname($QuestItem1)+"^000000, "+countitem($QuestItem2HM)+" of ^FF0000"+getitemname($QuestItem2)+"^000000, "+countitem($QuestItem3HM)+" of ^FF0000"+getitemname($QuestItem3)+"^000000."; mes "Come back when you have it! Better get the items quickly. It's gonna change in a Day!"; close; end; L_Close: next; mes "[Daily Quest]"; mes "Come back again! Get the Items!"; mes "Goodbye!"; close; end; GM_Menu: mes "[Daily Quest]"; mes "Hello GM "+strcharinfo(0)+"!"; mes "What can I do for you today?"; menu "Player Menu",L_START,"Change Today's Quest/Prize",L_ChangeQuest,"Close",L_Close; end; L_ChangeQuest: next; mes "[Daily Quest]"; mes "What will you like to change?"; next; menu "Go back.",GM_Menu,"Prize [^0000FF"+getitemname($DailyQuestPrize)+"^000000 x "+$DailyQuestPrizeHM+"]",L_ChangePrize,"Change Quest Randomly",L_ChangeQuestRandom,"Change Quest by Myself",L_ChangeQuestMyself; end; L_ChangeQuestMyself: next; mes "[Daily Quest]"; mes "Which item would you like to change first?"; menu "Go Back.",L_ChangeQuest,"Item 1 [^FF0000"+getitemname($QuestItem1)+"^000000 x "+$QuestItem1HM+"]",L_ChangeItem1,"Item 2 [^FF0000"+getitemname($QuestItem2)+"^000000 x "+$QuestItem2HM+"]",L_ChangeItem2,"Item 3 [^FF0000"+getitemname($QuestItem3)+"^000000 x "+$QuestItem3HM+"]",L_ChangeItem3; // L_ChangeItem1: next; mes "[Daily Quest]"; mes "Alright. What will be the item?"; next; input $QuestItem1; next; L_ChangeItem12: mes "[Daily Quest]"; mes "How much of ^ff0000"+getitemname($QuestItem1)+"^000000 do you want?"; mes "It must be in the range of ^0088001 ~ 200^000000."; next; input $QuestItem1HM; next; if ($QuestItem1HM > 200) goto L_HMItem1Denied; mes "[Daily Quest]"; mes "Item 1 Set."; set $DailyQuestToday,0; mes "^FF0000"+getitemname($QuestItem1)+"^000000 x "+$QuestItem1HM+"."; next; goto L_ChangeQuest; end; L_HMItem1Denied: mes "[Daily Quest]"; mes "This item (^ff0000"+getitemname($QuestItem1)+"^000000) must be in a range of ^0088001 ~ 200^000000."; next; goto L_ChangeItem12; end; // L_ChangeItem2: next; mes "[Daily Quest]"; mes "Alright. What will be the item?"; next; input $QuestItem2; next; L_ChangeItem22: mes "[Daily Quest]"; mes "How much of ^ff0000"+getitemname($QuestItem2)+"^000000 do you want?"; mes "It must be in the range of ^0088001 ~ 150^000000."; next; input $QuestItem2HM; next; if ($QuestItem2HM > 150) goto L_HMItem2Denied; mes "[Daily Quest]"; mes "Item 2 Set."; set $DailyQuestToday,0; mes "^FF0000"+getitemname($QuestItem2)+"^000000 x "+$QuestItem2HM+"."; next; goto L_ChangeQuest; end; L_HMItem2Denied: mes "[Daily Quest]"; mes "This item (^ff0000"+getitemname($QuestItem2)+"^000000) must be in a range of ^0088001 ~ 150^000000."; next; goto L_ChangeItem22; end; // L_ChangeItem3: next; mes "[Daily Quest]"; mes "Alright. What will be the item?"; next; input $QuestItem3; next; L_ChangeItem32: mes "[Daily Quest]"; mes "How much of ^ff0000"+getitemname($QuestItem3)+"^000000 do you want?"; mes "It must be in the range of ^0088001 ~ 50^000000."; next; input $QuestItem3HM; next; if ($QuestItem3HM > 50) goto L_HMItem3Denied; mes "[Daily Quest]"; mes "Item 3 Set."; set $DailyQuestToday,0; mes "^FF0000"+getitemname($QuestItem3)+"^000000 x "+$QuestItem3HM+"."; next; goto L_ChangeQuest; end; L_HMItem3Denied: mes "[Daily Quest]"; mes "This item (^ff0000"+getitemname($QuestItem3)+"^000000) must be in a range of ^0088001 ~ 50^000000."; next; goto L_ChangeItem32; end; // L_ChangeQuestRandom: set $QuestItem1, rand(701,1065); set $QuestItem1HM, rand(1,200); set $QuestItem2, rand(701,1065); set $QuestItem2HM, rand(1,150); set $QuestItem3, rand(701,1065); set $QuestItem3HM, rand(1,50); set $DailyQuestToday,0; mes "[Daily Quest]"; mes "This is the Daily Quest:"; mes "^FF0000"+getitemname($QuestItem1)+"^000000 x "+$QuestItem1HM+""; mes "^FF0000"+getitemname($QuestItem2)+"^000000 x "+$QuestItem2HM+""; mes "^FF0000"+getitemname($QuestItem3)+"^000000 x "+$QuestItem3HM+""; next; goto GM_Menu; end; L_ChangePrize: next; mes "[Daily Quest]"; mes "Input the Prize"; next; input $DailyQuestPrize; next; mes "[Daily Quest]"; mes "The Prize: "+getitemname($DailyQuestPrize)+" x How many?"; next; input $DailyQuestPrizeHM; next; mes "[Daily Quest]"; mes "This is what you like?"; mes "^0000ff"+getitemname($DailyQuestPrize)+"^000000 x "+$DailyQuestPrizeHM+"."; menu "Yup, Thanks.",GM_Menu,"Noo! I made a mistake!",L_ChangePrize; end; FinishQuest: next; mes "[Daily Quest]"; mes "You got ^0000FF"+getitemname($DailyQuestPrize)+"^000000 x "+$DailyQuestPrizeHM+"."; delitem $QuestItem1,$QuestItem1HM; delitem $QuestItem2,$QuestItem2HM; delitem $QuestItem3,$QuestItem3HM; getitem $DailyQuestPrize,$DailyQuestPrizeHM; set $DailyQuestTotal,$DailyQuestTotal +1; set $DailyQuestToday,$DailyQuestToday +1; set extime,gettimetick(2); close; end; } - script DailyQuestItemChanger -1,{ OnInit: Start: set $QuestItem1, rand(936,980); set $QuestItem1HM, rand(1,200); set $QuestItem2, rand(981,1025); set $QuestItem2HM, rand(1,150); set $QuestItem3, rand(1025,1065); set $QuestItem3HM, rand(1,50); set $DailyQuestToday,0; OnHour24: set $QuestItem1, rand(936,980); set $QuestItem1HM, rand(1,200); set $QuestItem2, rand(981,1025); set $QuestItem2HM, rand(1,150); set $QuestItem3, rand(1025,1065); set $QuestItem3HM, rand(1,50); set $DailyQuestToday,0; goto Start; end; } -
-
Creator walk animation after acid demonstration
Cyro replied to caspe's question in Client-side Support
Which rathena git are you using? -
Install rAthena on Centos - can't compile
Cyro replied to Vietlubu's question in Installation Support
Rathena now requires g++ compiler Try installing and recompile yum install gcc-c++ -
try giving permissions to inside folders/files which operating system are you using? use can use "chmod 777" if you can run commands
-
this probably caused when directories have permission issues try giving permissions to folder www/cp/lib
-
yes! then restart your mysql
-
try adding sql_mode=NO_ENGINE_SUBSTITUTION to your mysql.ini / my.ini
-
Go to config/error.php Find showExceptions = false; Turn it to true, so you can see what causing the issue
-
well some of the old players might be still playing, so we cant call it welcome back when they actually playing
-
I tried this in different ways, and found out its not possible to make it work, Since as soon as player login to map server it will be auto updated last login to your database
-
Any errors?
-
If u dont wnat to diff fresh client and just want to change the name of the client window title You can change it using hex editor, Download XVL32 hex editor, open your client, search existing client window name in txt format using alt+f and rename it as your wish Just remember not to use backspace which makes your client corrupt
-
https://rathena.org/jobs_available/
-
- script VIPBUFF -1,{ OnInit: bindatcmd "vipbuffs", strnpcinfo(3) +"::OnBUFF"; end; OnBUFF: if(countitem(32508) || (getgroupid() >= 5 )){ specialeffect2 EF_HEAL2; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10; specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10; specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3; specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5; specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5; } end; } didnt tested
-
1- it might an issue if you use vip system in both servers ( i might use custom vip system if i use two servers with one login table ) 2- you can start using ./map-server ./char-server make sure to use diff ports
-
Get server information (online, woe, players status)
Cyro replied to Bacanaman's question in Web Support
you just need to configure servers.php , instead of localhost/127.0.0.1 use ip assigned to your box/vps -
Do not create eggs with @item command use @makeegg.
-
check your system/iteminfo.lua and add/modify your custom item id details/ description