Jump to content

llchrisll

Members
  • Posts

    626
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by llchrisll

  1. I think before saving everything into variables it's better to use SQL, imo.
  2. At if(@minute) add to it: && (strcharinfo(3) == prontera || strcharinfo(3) == payon) So it looks like this: if(@minute == 1 && (strcharinfo(3) == prontera || strcharinfo(3) == payon)) {
  3. Did you change it also at part? Cuz it doesn't look like it. Search for deletearray event_cc_pig$ and rename the variable. In case you need to charge every line where this variable is used. Not only once. Also about your playerattached error: Either you comment it, delete it or instead of != 0 you put == 0
  4. As soon as I have time I will test the script, not sure what happened there. I'm currently busy with my battle royal script. In line 22 is an example. otherwise I use the same function in my Dungeon Quest Service at line 253. Basically you save the menu entries into am single variable with implode and define the max entries, the function creates an menu and returns the value of "@menu" based on the option you chose from the array which was imploded for the function.
  5. Your image doesn't work, can't really help that way.
  6. 1. You already got that part right, but your label is called L_None, but you try to goto L_Nonea; 2. At your OnPCDieEvent, exchange warp "merullian",105,58; with warp "SavePoint",0,0; 3. At OnSpecialMobDeada, exchange the sleep 2000; warp... With sleep 30000; mapwarp "Coliseum","SavePoint",0,0; I will have a look at it better when I'm at home and maybe optimize since using goto is ugly. Also you got a few unneeded OnTimer100 where nothing happens. Butt overall not bad for your first script related to events. Regards, Chris
  7. You could use the search function in the Installation Support section, there are already tons of topic about it. Also this is the script support section, if it's not script related move over to the correct one please.
  8. conf/groups.conf What did you set in the exp.conf?
  9. Remove the ""+ and +"" in every line containing this part Edit: Well since I nearly got overhelm of the goto Labels, I optimized it a bit: //===== eAthena Script ======================================= //= Stats Seller //===== By: ================================================== //= DeadChild //===== Current Version: ===================================== //= 1.0 //= 2.0 - Fixed an bug with warp and optimized it[llchrisll] //===== Compatible With: ===================================== //= Any eAthena Version //===== Description: ========================================= //= Stats Seller //===== Additional Comments: ================================= //= Have fun with it ^^ //============================================================ prontera,166,201,0 script STP/SKP Seller 86,{ mes .n$; mes "Hi, I'm the STP/SKP Seller"; mes "It cost "+.price+"z each point"; mes "which one you wanna buy?"; next; switch(select("- Status Points:- Skill Point:- No thanks I'm fine")) { case 1: mes .n$;; mes "What do you want to buy?"; next; set .@stat,select("Str:Agi:Vit:Int:Dex:Luk"); mes .n$; mes "Hold on..."; next; mes .n$; mes "So how many?"; input .@quantity; next; mes .n$; if (.@quantity == 0) { mes "Please don't waste my time"; close; } if (.@quantity > 999) { mes "Sorry but you can only get 999 Status Point"; close; } if (zeny < (.@quantity*.price)) { mes "Sorry but you do not have enough zeny."; close; } set Zeny,Zeny - (.@quantity*.price); switch(.@stat) { case 1: statusup2 bStr,.@quantity; break; case 2: statusup2 bAgi,.@quantity; break; case 3: statusup2 bVit,.@quantity; break; case 4: statusup2 bInt,.@quantity; break; case 5: statusup2 bDex,.@quantity; break; case 6: statusup2 bLuk,.@quantity; break; } getmapxy(.@mapname$,.@mapx,.@mapy,0,strcharinfo(0)); mes "Done"; next; warp .@mapname$,.@mapx,.@mapy; close; case 2: mes .n$; mes "So how many?"; input .@quantity; next; mes .n$; if (.@quantity == 0) { mes "Please don't waste my time"; close; } if (zeny < (.@quantity*.price)) { mes "Sorry but you do not have enough zeny."; close; } mes "Done"; set zeny, zeny - (.@quantity * .price); set SkillPoint,SkillPoint + .@quantity; break; case 3: mes .n$; mes "Okay then..."; close; } OnInit: set .n$,"["+strnpcinfo(0)+"]"; set .price,476000; end; }
  10. Well mostly is those quest commands which I mentioned one of them.
  11. *questinfo <Quest ID>,<Icon>{,<Map Mark Color>{,<Job Class>}}; This is esentially a combination of checkquest and showevent. Use this only in an OnInit label. For the Quest ID, specify the quest ID that you want checked if it has been started yet. For Icon, use one of the following: No Icon : QTYPE_NONE ! Quest Icon : QTYPE_QUEST ? Quest Icon : QTYPE_QUEST2 ! Job Icon : QTYPE_JOB ? Job Icon : QTYPE_JOB2 ! Event Icon : QTYPE_EVENT ? Event Icon : QTYPE_EVENT2 Warg : QTYPE_WARG (Only for packetver < 20170315) Warg Face : QTYPE_WARG2 (Only for packetver >= 20120410 and < 20170315) Click Me : QTYPE_CLICKME (Only for packetver >= 20170315) Daily Quest : QTYPE_DAILYQUEST (Only for packetver >= 20170315) ! Event Icon : QTYPE_EVENT3 (Only for packetver >= 20170315) Job Quest : QTYPE_JOBQUEST (Only for packetver >= 20170315) Jumping Poring : QTYPE_JUMPING_PORING (Only for packetver >= 20170315) Map Mark Color, when used, creates a mark in the user's mini map on the position of the NPC, the available color values are: 0 - No Marker (default) 1 - Yellow Marker 2 - Green Marker 3 - Purple Marker When a user shows up on a map, each NPC is checked for questinfo that has been set. If questinfo is present, it will check if the quest has been started, if it has not, the bubble will appear. Optionally, you can also specify a Job Class if the quest bubble should only appear for a certain class. Example izlude,100,100,4 script Test 844,{ mes "[Test]"; mes "Hello World."; close; OnInit: questinfo 1001, QTYPE_QUEST, 0, Job_Novice; end; } Do you mean this? Just search doc/script_commands.txt.
  12. Well we need the coordinates of the boxes or we can't check if you maybe missed them, maybe better if you send us your map so we can test it properly. In case you don't want to share your map, you could also do the following: Make npc duplicates to check if you put in the right coordinates, by using waitingroom. Might be a hassle but worth trying. If you need help doing that, I will send you an code soon, or if someone else is faster xX. Regards, Chris
  13. I mean, that he wanted to block being recalled by @recall and not emergency call. Anyway well done :).
  14. What if he meant @recall by GM instead of emergency call xX.
  15. If you want help in this section, use English. If your English is not that fluent, move to your language section please. Otherwise we really can't help you, also it's stated in the rules to use English in these sections.
  16. I don't think so, not sure what the problem was anyway, but according to the error he had it in the db/re/.
  17. Weird, have to look at it, it was from eAthena times. But I was sure I tested it anyway. Edit: I think I know what the problem is: if(attachrid(killerrid) == 1) at line 926 can't work when I detach every player, need to save killerrid in a variable first.
  18. You're welcome. Well the import folder is for custom additions anyway, so when you update you're server, those files won't conflict with an update. Regards, Chris
  19. Have you tried adding the skills into db/import/mob_skill_db.txt? Cuz when I tested that instance out I didn't recieve any error at all, in case it's the instance from Alayne.
  20. You're script is similar to my Last Man Standing Event, I can't really take a look at the script of yours since I'm in work, but if you want you can check out my script and compare it. Regards, Chris
  21. =============== Update: 10/25-2018: Added 6 Scripts & formated the Topic a bit more ============ Split Topic into Sections (Released, Requests, Additional and Unofficial) Added Instanced Loot System Added every requested Script so far Added Pagination function and GetMobData function Added Unofficial Excellion Gear NPC's and Nightmare Bio Lab NPC's Added Armor Enchanter Fixed Card Compounder
  22. Like I said, I didn't encounter any error when I tried it. But if you had to manually fix it, try to share your solution with us for others with the same problem.
  23. Well if you would have given an sample, it would have been better imo. Haha Then he could learn from it.
  24. Okayy. Must have been blind, after reading it like 10 times, I was able to find them lol.
  25. @Wickedknight2 I also see nowhere where you set the .SizeItems and .SizeEnchants, or I'm blind lol Maybe you meant getarraysize(.PossibleEnchants) and getarraysize(.PossibleItems) in your rand. XX
×
×
  • Create New...