Jump to content

Drinna

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by Drinna

  1. Anyone who was able to get a fix for this issue ? Or rather was able to make the changes to how the author wanted to happen?
  2. kailangan ko lang ung NPC ng coupons. wala na kasi ung link ayaw na gumana nito : http://rathena.org/board/topic/63332-coupon-npc-112/ baka tanda niyo pa. salamat!
  3. HI ! I was wondering if any of you still has the copy of this script right here : http://rathena.org/board/topic/63332-coupon-npc-112/ The link doesn't work anymore but I was thinking this NPC is something I really need for a project I am doing. Thank you!
  4. Hi, Gusto ko lang magtanong kung paano po gumawa ng host na sa PC ko lang gumagana tapos makakapag laro kami ng kasama ko na nasa ibang lugar. yung dalawa hanggang sampu lang kami. Salamat po!
  5. If you found this post and need an answer for this problem you gotta edit it using wordpad , that easy . that way it won't be messed up. but make sure you got your backup
  6. Still know more about this ?
  7. Okay I am a noob here still but I think it's best for some other people who might be needing an answer to actually share what I did. It seems that this is an event that will normally happen at the very first time that you had the patcher details source edited from main.ini. if you did not do not the first time and you suddenly realised you had to edit it, then you are bound to get this error. What I found out is that you gotta let it do its thing. Let it closed the first time and repatch the tmp.exe that will appear from the folder. once that happens close the tmp.exe patcher and launch your orig patcher. You will notice that the orig patcher now has the new design or whatever changes you did for the new patcher. I explain things as how my mind thinks it so I'm sorry if I explained it a bit confusing. hope I helped.
  8. I had to do ./athena-start restart from the console to have it enabled hehe - for those who are looking for answers
  9. Got same problem about this anyone got the solution yet? Maybe there should be something in the config or main that will let you edit what name it should take when placed in the folder? anyone? Bumping this post.
  10. Oh no I hope this one had an answer ?
  11. Hi I want to know if you can disable in you server this and go back to the simple map system RO had before. The one highlighted in black. Thanks!
  12. Thanks this one is actually the solution hehe thanks !
  13. Okay hmmm I'm gonna try to diff it again with that option and see if that works. Thanks for responding I appreciate it
  14. Hi, I'm having problems with this. not sure what to do now. I tried all GRF's and it doesn't seem to be working. Here I type @dye 2 and it doesn't give me the blue clothe dye while it says "Appearance changed". In other jobs it works and changes colors, but not with the High Priest. It even works on the Priest job. Anyone can help?
  15. Now I know that it is because of the duplicates. I did not know that ? but when I put the if (strnpcinfo(1) != "") end; what happens now is that it only shows this below : I can see it's because of this : - shop MSHOP1 -1,19544:-1- shop MSHOP2 -1,19522:-1 But it wasn't doing that before ?
  16. Okay ? thanks ! I will try this for now ? let's see if it will work
  17. //===== eAthena Script ======================================= //= Custom-Currency Multi-Shop //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.2 //===== Description: ========================================= //= Allows for better organization in a single shop call. //= Note that there are two configuration areas. //============================================================ // -------------------- Config 1 -------------------- // For each shop added, copy this MSHOPX dummy data. // Write your shop names in the select() function. - shop MSHOP1 -1,19544:-1 - shop MSHOP2 -1,19522:-1 payon,166,111,5 script Rewards 114 ,{ set @s, select("Upper Headgears:Mid & Lower Headgears"); // -------------------------------------------------- message strcharinfo(0),"This shop only accepts "+getitemname(.Currency[@s])+"."; dispbottom "You have "+countitem(.Currency[@s])+" "+getitemname(.Currency[@s])+"."; callshop "MSHOP"+@s,1; npcshopattach "MSHOP"+@s; end; OnBuyItem: set .@i,0; while (.@i < getarraysize(@bought_nameid)) { set .@j, 0; while (.@j < getarraysize(getd(".Shop"+@s))) { if(getd(".Shop"+@s+"["+.@j+"]") == @bought_nameid[.@i]) { set @itemcost, (getd(".Shop"+@s+"["+(.@j+1)+"]") * @bought_quantity[.@i]); set @totalcost, @totalcost + @itemcost; break; } set .@j, .@j+2; } set .@i, .@i+1; } if (@totalcost > countitem(.Currency[@s])) dispbottom "You don't have enough "+getitemname(.Currency[@s])+"."; else { set .@i,0; while (.@i < getarraysize(@bought_nameid)) { getitem @bought_nameid[.@i], @bought_quantity[.@i]; dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+"."; set .@i, .@i+1; } delitem .Currency[@s], @totalcost; } set @totalcost, 0; deletearray @bought_nameid[0], 128; deletearray @bought_quantity[0], 128; end; OnInit: // -------------------- Config 2 -------------------- // Currency: The ID of each shop currency, // in the same order as the shops. // Shop order follows that of the select() call, // and is formatted "ID1,Count1,ID2,Count2,..." setarray .Currency[1],32020,32020; setarray .Shop1[0],19544,30,20273,80,19513,5,19507,5,19517,10; setarray .Shop2[0],19522,10,19537,20,19539,200,19613,300; // setarray .Shop3[0],2302,2,2348,30; // setarray .Shop4[0],2502,2,2513,15,2523,15; // setarray .Shop5[0],2441,15; // setarray .Shop6[0],2199,32768; // setarray .Shop7[0],4051,3,4285,6; // setarray .Shop8[0],513,1,532,2,634,4; // -------------------------------------------------- set .@i,1; while (.@i <= getarraysize(.Currency)) { set .@j,0; while (.@j < getarraysize(getd(".Shop"+.@i))) { npcshopdelitem "MSHOP"+.@i,32020; npcshopadditem "MSHOP"+.@i, getd(".Shop"+.@i+"["+.@j+"]"), getd(".Shop"+.@i+"["+(.@j+1)+"]"); set .@j, .@j+2; } set .@i, .@i+1; } end; } // ----------------Duplicate-------------------- prontera,143,99,5 duplicate(Rewards) Rewards#prt 114 alberta,139,71,5 duplicate(Rewards) Rewards#alb 114 morocc,127,77,5 duplicate(Rewards) Rewards#mrc 114 geffen,97,71,5 duplicate(Rewards) Rewards#gef 114
  18. Hi ! I am using Euphy's script for a pod shop but the items that it sells repeats. here's an example from below and also the script I edited for my server. hourly.txt Here's how it looks like. I just don't understand why anymore ?
  19. Hi ! Yeah I was thinking about that I will have it posted below : alberta,148,60,3 script V-Code Manager 833,{ set .v$,""; if(getgroupid() == 99) { mes .v$,"Greetings, Please enter your passcode."; next; input .@security; if(.@security == 6969){ mes .v$,"Hi, Admin! Welcome!"; mes "Be ready to have the Vcode"; mes "for new top ups."; next; mes .v$,"Ready to enter code?"; next; switch(select("Enter Promo Code:Cancel")) { case 1: mes .v$,"Input Code"; input .@topupcode$; next; mes .v$,"Input Reward"; input .@topupitem; next; mes .v$,"Input Amount"; input .@amt; mes "Please make a quick review.."; mes "Promo Code: ^880000"+.@topupcode$+"^000000"; mes "Promo Reward: ^000088"+getitemname(.@topupitem)+" "+.@amt+"x^000000"; while(select("Confirmed:Ugh, I change my mind.")== 2){ mes .v$,"Okay then,See ya!"; close; } $Promo$ = .@topupcode$; $PromoItem = .@topupitem; $PromoAmt = .@amt; $PromoAct = 1; $PromoNum++; next; mes .v$,"VCode is now ready for claiming!"; close; break; case 2: mes .v$,"Alright then you might"; mes "need some time. Goodbye!"; close; break; } } mes .v$,"I'm sorry wrong passcode."; mes "Try again."; close; } mes .v$,"Welcome! I manage V-codes"; mes "for players who purchased"; mes "in game Cash Points."; next; mes .v$,"Cash Points can be used"; mes "in Kafra Shops to buy"; mes "equipments and usable items."; next; mes .v$,"Do you have a V-code"; mes "you purchased?"; menu "Enter 16 Digit V-code",L_Claim,"What to do with Vcodes?",V_Explain,"Nope, Just passing by..",Good_B; close; L_Claim: next; mes .v$,"Enter your Top Up V-Code here"; mes "Please do not leave the DASHES"; mes "example below :"; mes "XXXX-XXXX-XXXX-XXXX"; input .@pcode$; if(.@pcode$ == $Promo$ && $PromoAct != 0 && ##Claimed != $PromoNum){ next; mes .v$,"Thanks for your purchase"; next; mes .v$,"Please accept it."; getitem $PromoItem,$PromoAmt; set ##Claimed,$PromoNum; close; } else{ next; mes .v$,"Sorry, The code you have"; mes "entered is either invalid"; mes "or have already been used"; mes "please try again, or"; mes "contact our FB page"; mes "for assistance"; close; } V_Explain: next; mes .v$,"Vcodes can get you"; mes "specific number of vouchers,"; mes "and you can get them"; mes "be exchanged for Cash Points"; mes "you can talk to the lady"; mes "on my left to know more."; close; Good_B: next; mes .v$,"Okay then, Thanks for your time!"; close; } The problem with that one above ^ is that it only stores 1 code at a time, I was wanting it to store as much codes possible, and the code could be used only one time, and will be unclaimable by any other players or any other characters in the players account, kinda like a one time use ticket in a cinema, once a staff tore it, then it's used. Thanks for that emistry , the only prob I get with the freebies scriptings is another character from another account can use the code again. I'm sorry for being such a newbie. I tried reading stuff but I guess I can only do so much and I just needed to ask for help.
  20. Hi, I would like to see if anyone can help me with a script I'm working on. I am pretty much a beginner and I have been able to find out that there are ways for you to create an NPC that will allow you to set codes for players to claim. I studied them but not much made sense as I don't understand SQL scripting just yet. However with my primitive knowledge, I was able to devise a much simpler version, something that I can understand and is within my scripting level. but I can't seem to know what commands I ought to type so that when a code I set is claimed by 1 player, then it wouldn't be available to be claimed by other players. Hope anyone can help! ?
  21. Thanks this one saved me too. ? You may not see tht you can edit it with the wordpad but you gotta click "Open with" And then a window will appear and you might think it's another dead end, but hey, click the More Apps option and scroll down to see Wordpad and you can start editing it with the Wordpad
  22. I figured that's what you meant but I guess I'm just too lazy to find out how to allow any application through firewall so does turning it off still works? XD hehehe
  23. Is that what it is ? ? I got these as my setting for firewall, is this the one you want me to turn off?
  24. Yep I actually did that and then of course recompile etc. but nope, I was trying it for maybe like 3 hours this morning. I tried several 2013 clients, someone told me there could be renewal remnants making the error and they are most likely 7 of them that is why it was telling me 7 exceeded etc. but not entirely sure. hey thanks for your responses.
×
×
  • Create New...