Jump to content

MikZ

Members
  • Content Count

    461
  • Joined

  • Last visited

Everything posted by MikZ

  1. Already fixed thanks!
  2. hi @4144 do we have update regarding this now? thanks!
  3. thanks! when will this be fix? is it included in the version this month?
  4. Good day! After I updated my GIT I always got this everytime i logged in a char: [Waring]: Unhandled packet 0x044A (length 6), authed session #7, 2000000/150537 (AID/CID) what does this mean?
  5. Good day! Quick question. Does hit-delay plugin include return to die warp/last save point delay? If not how, can i enable delay after dying wanted to add timer like 5, 4, 3, 2, 1 . before return to last save point appear if killed by a monster "only". Thanks!
  6. Good day! I am trying to add VIP warper function in the script and found this command. function VIP { if ( getarg(0) > getgmlevel() ) { if (getarg(1,0)) { @vip_block = 0; for (.@i = 1; .@i < getargcount(); .@i++) @vip_block = @vip_block | (1<<getarg(.@i)); } else { message strcharinfo(PC_NAME),"Only VIP have access in this map."; close; } } return; } My question is how can i apply/change the script to work on this query, query below is for VIP players. thanks! query_sql( "SELECT CAST( `vip` AS DATE ),DATEDIFF( IFNULL(`vip`,NOW()),NOW() ),`last_unique_id`,`last_ip` FROM `login` WHERE `account_id` = "+getcharid(3)+" LIMIT 1", .@vip_date$, .@day, .@last_u_id$, .@last_ip$ ); if ( .@day > 0 ) { dispbottom "VIP Exp & item rate and Expire at "+.@vip_date$+"."; } end; }
  7. So there is no way then? T_T. noted thanks much on your suggestion..
  8. or can someone provide me script for rental items with View screen like the trader shop. thanks!
  9. Good day! I am trying to make NPC if possible rent item npc using the NST_CUSTOM. But where should i place the # of days? Please help me how. thanks! - trader Rental01 1_M_01,{ OnInit: tradertype(NST_CUSTOM); rentitem Red_Potion,2; end; OnCountFunds: setcurrency(#KAFRAPOINTS); end; OnPayFunds: if( #KAFRAPOINTS < @points ) end; #KAFRAPOINTS -= @points; purchaseok(); }
  10. Good day! I updated my GIT last September 14 and tried updating today. However, it's not updating anymore, seen lots of pull merges but git says already update. Please help me how to solve this. thanks! [myhobby@localhost]$ git stash save Saved working directory and index state WIP on stable: 551eb6d update 09302018 HEAD is now at 551eb6d update 09302018 [myhobby@localhost]$ git pull remote: Enumerating objects: 177, done. remote: Counting objects: 100% (177/177), done. remote: Total 229 (delta 177), reused 177 (delta 177), pack-reused 52 Receiving objects: 100% (229/229), 522.64 KiB | 0 bytes/s, done. Resolving deltas: 100% (177/177), completed with 49 local objects. From https://github.com/HerculesWS/Hercules + e3364a1...6d90af7 coverity_scan -> origin/coverity_scan (forced update) 852c133..baeb7a1 master -> origin/master Already up-to-date. [myhobby@localhost]$ git stash pop # On branch stable # Your branch is ahead of 'origin/stable' by 2 commits. # (use "git push" to publish your local commits) # # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: conf/char/char-server.conf # modified: conf/login/login-server.conf # modified: src/map/pc.c # modified: src/plugins/Makefile.in # no changes added to commit (use "git add" and/or "git commit -a") Dropped refs/stash@{0} (f5dc24cc389ca564651bbf2547ac42b96bee5226)
  11. Hi @Dastgir, my client just crashes and no error from map-server, server still works fine. is just that: Once i summon homun it will not pop up automatically in my client window, but if you have dual client you can see it in other client. the main client which has my creator account won't see it, i need to do @refresh, or press the skill call homun, before it appear to my screen. And once it appear it automatically has 50 skill points yet non-usable. Same goes with rest skill. i need to do @refresh to make it despair i am using client 2014-10-22bRagexe (is this stable?) Using this translation RE Please help me.
  12. Good day! I think my sql got mixed up when I did git update and my homunculus got crash. like once i summoned the homun it got 50skillpoints already but cannot be added. How to know if my sql are the updated one, i think this is the cause of Homunculus errror. I check my "sql-files/" i got some new sqls dated 09.30.2018 (item_db,item_db_re,item_db2,main,mob_db_re,mob_skill_db,mob_skill_db_re,mob_skill_db2) my original sql where dated 04.05.2018. Does querying them will worsen my SQL files? Cuz i know updated sql files should be in"sql-files/upgrades" (i query all the 09.30.2018 files in this folder) Ps: no error in map server.
  13. Hello?? Someone please confirm. If I summon homunculus it already has 50 skill points. please help me fix this please. please how?
  14. Anyone please? Homunculus wont attack any monster it just follow the monster and nothing, its like it is hir/her owner. Also i need to do @refresh after summoning to make it appear and once i do @go to anyplace i got error. T_T I tested in my previous git before i update, i got no error. please help me fix this also when i check homunculus skill points, it has skill points already without leveling yet cannot be use.
  15. Any one please. care to share the sprite?
  16. hi @meko Here's the script. https://pastebin.com/embed_js/HQLnF7vr
  17. @meko I cannot find any goal: 0, and i didn't touch this part. EDIT by meko: https://0bin.net/paste/CvdHKAJrVAvguh9T#qM5mdxGE3dTyBzf+TwsoGQMZADrr2VGohwO8eDKc3A5 (please use a pastebin service when you have a lot of lines to paste)
  18. Good day! Who has sprite for .act and .spr for this missing sprite? Don't know what to google and i tried searching inside the data.grf and rdata.grf both are none. Please give me. thanks! I don't know why, but right after I updated my git, i am getting errors. delay in summoning Homunculus, i need to do @refresh before it appear, then when i moved i got these errors. T_T I am using client 2014-10-22b 00# [FAIL] sprite\¸ó½ºÅÍ\Ãʺ¸ÀÚ.act [860 ms] 01# [FAIL] sprite\¸ó½ºÅÍ\Ãʺ¸ÀÚ.act [860 ms] 02# [FAIL] sprite\¸ó½ºÅÍ\Ãʺ¸ÀÚ.spr [860 ms] 03# [FAIL] sprite\¸ó½ºÅÍ\Ãʺ¸ÀÚ.spr [860 ms] full details https://pastebin.com/embed_js/4VzdQZLv
  19. Hi, I just updated my git. Where to find this achievement thing?
  20. Good day! I found this error in my map server. What does this mean? achievement.c:727: 'amount ! =0! in function 'achievement_validate_zeny ./map-server() [0x62c013] ./map-server() [0x408f03] ./map-server() [0x51f569] ./map-server() [0x50b1c1] plugins/HPhooking_map.so(HP_npc_sellist+0x97) [0x7f8d12f9757] ./map-server() [0x46a51a] ./map-server() [0x4abddf] ./map-server() [0x637fde] ./map-server(main+0x2ca) [0x40844a] /lib64/libc.so.6(==libc=start=main+0xf5) [0x7f8df3a31445] please help me fix this. thanks!
  21. Hello! What does this mean? buildin_queuesize: unknown queue id 5 script_hqueue_add: unknown queue id 5 Here's my script. pvp_c_room,38,85,3 script Dice Event::Dicey 4_M_NOVELIST,{ disablenpc "Dice#evnt1"; .@deName$ = "[^FF0000Dice Event^000000]"; .@menu$ = "Join the event:Cancel"; if (getgmlevel() >= .gmsetting) { .@menu$ = .@menu$ + ":Start Event"; } switch(select(.@menu$)){ case 1: if ( .dEstart == 1 ) { warp "quiz_01",204,89; end; } else if ( .dEstart == 2 ) { mes .@deName$; mes "Too late, the event has already started"; close; } mes .@deName$; mes "No Event right now"; close; case 2: close; end; } // Set what time it will Start... OnWhisperGlobal: OnStart: .dEstart = 1; announce "Dice Event: We are going to have a Dice Event",bc_all,0xFF7F50; sleep 1 * .seconds; announce "Dice Event: For those who want to join, please meet me @go event.",bc_all,0xFF7F50; sleep 1 * .seconds; announce "Dice Event: The Warper would be open for 3 minutes",bc_all,0xFF7F50; sleep 30 * .seconds; announce "Dice Event: For those who want to join, please meet me @go event.",bc_all,0xFF7F50; sleep 30 * .seconds; announce "Dice Event: The Warper would be open for 2 minutes",bc_all,0xFF7F50; sleep 30 * .seconds; announce "Dice Event: For those who want to join, please meet me @go event.",bc_all,0xFF7F50; sleep 30 * .seconds; announce "Dice Event: The Warper would be open for 1 minute",bc_all,0xFF7F50; sleep 60 * .seconds; announce "Dice Event: Last 30 Seconds.",bc_all,0xFF7F50; sleep 30 * .seconds; announce "Dice Event: Warper Closed.",bc_all,0xFF7F50; OnEnable: if(getmapusers("quiz_01")==1){ mapannounce "quiz_01","Dice: The Game will start minimum of TWO player...",bc_all,0xFF7F50; sleep 5 * .seconds; announce "Dice Event: Last Call. We are waiting for another challenger..",bc_all,0xFF7F50; sleep 5 * .seconds; announce "Dice Event: For those who want to join, please meet me and type @go event.",bc_all,0xFF7F50; sleep 10 * .seconds; announce "Dice Event: The Warper would be open for 1 minute",bc_all,0xFF7F50; sleep 30 * .seconds; announce "Dice Event: Last 30 Seconds.",bc_all,0xFF7F50; sleep 30 * .seconds; announce "Dice Event: Warper Closed.",bc_all,0xFF7F50; sleep 5 * .seconds; if(getmapusers("quiz_01")==1){ mapannounce "quiz_01","Dice: The Dice event is HALTED...",bc_all,0xFF7F50; warp "prontera",155,183; end; } } .dEstart = 2; mapannounce "quiz_01","Dice: We are about to start the Dice event.",0; sleep2 3000; mapannounce "quiz_01","Dice: But before we start the event here's how to play the game. . .",0; sleep2 3000; mapannounce "quiz_01","Dice: I'm only gonna say this once so read carefully.",0; sleep2 3000; mapannounce "quiz_01","Dice: I'm going to pick a number, 1 to 4. Then I'll do a count down from 5 to 0.",0; sleep2 3000; mapannounce "quiz_01","Dice: All you have to do is go to the box of the number you want.",0; sleep2 3000; mapannounce "quiz_01","Dice: Example, If I get the number of 4, All the players standing on numbers 1 to 3 will be warped back to town.",0; sleep2 3000; mapannounce "quiz_01","Dice: We will do it again and again until we only have 1 player left on the map.",0; sleep2 3000; mapannounce "quiz_01","Dice: Oh yeah! Before I forget you MUST GO INSIDE THE BOX, because if you're caught standing on the stairs you'll be automatically disqualified.",0; sleep2 3000; mapannounce "quiz_01","Dice: That's it.. Now let's play...",0; sleep2 5000; goto L_start; end; L_start: disablenpc "Dice#evnt1"; if(getmapusers("quiz_01") == 1) goto L_Champ; if(getmapusers("quiz_01") == 0) goto L_None; if(getmapusers("quiz_01") > 1) { mapannounce "quiz_01","Dice: . . . . .",0; $@number = rand(1,4); sleep 10000; mapannounce "quiz_01","Dice: I have a number now. Please go to the box of the number you want.... GO!", 0; sleep 10000; mapannounce "quiz_01","Dice: 5", 0; sleep 5000; mapannounce "quiz_01","Dice: 4", 0; sleep 4000; mapannounce "quiz_01","Dice: 3", 0; sleep 3000; mapannounce "quiz_01","Dice: 2", 0; sleep 2000; mapannounce "quiz_01","Dice: 1", 0; sleep 1000; mapannounce "quiz_01","Dice: Time's up.", 0; donpcevent "evnt#1::OnEnable"; mapannounce "quiz_01","Dice: Winning number "+$@number+".", 0; if(($@number != 1) && ($@number != 2) && ($@number != 3)) goto L_Lose1; if(($@number != 1) && ($@number != 2) && ($@number != 4)) goto L_Lose2; if(($@number != 1) && ($@number != 3) && ($@number != 4)) goto L_Lose3; if(($@number != 2) && ($@number != 3) && ($@number != 4)) goto L_Lose4; end; } L_Lose1: areawarp "quiz_01",183,81,191,60,"prontera",155,182; areawarp "quiz_01",195,81,203,60,"prontera",155,182; areawarp "quiz_01",207,81,215,60,"prontera",155,182; .dEstart = 0; goto L_start; end; L_Lose2: areawarp "quiz_01",183,81,191,60,"prontera",155,182; areawarp "quiz_01",195,81,203,60,"prontera",155,182; areawarp "quiz_01",219,81,227,60,"prontera",155,182; .dEstart = 0; goto L_start; end; L_Lose3: areawarp "quiz_01",183,81,191,60,"prontera",155,182; areawarp "quiz_01",207,81,215,60,"prontera",155,182; areawarp "quiz_01",219,81,227,60,"prontera",155,182; .dEstart = 0; goto L_start; end; L_Lose4: areawarp "quiz_01",195,81,203,60,"prontera",155,182; areawarp "quiz_01",207,81,215,60,"prontera",155,182; areawarp "quiz_01",219,81,227,60,"prontera",155,182; .dEstart = 0; goto L_start; end; L_Champ: enablenpc "Dice#evnt1"; mapannounce "quiz_01","Dice: Come to me and get your Prize.",0; end; L_None: announce "No One Wins Dice Event. Closed",0; end; OnInit: disablenpc "Dice#evnt1"; waitingroom "[Dice Event]",0; bindatcmd "dice", strnpcinfo(0)+"::OnStart", 99,100; .gmsetting = 60; // in which level the GMs can control this event ? .seconds = 1000; //1000; // for debug purpose only, how many mili-second = 1 second ? } - script evnt#1 -1,{ OnEnable: areawarp "quiz_01",182,94,228,88,"prontera",155,182; areawarp "quiz_01",185,87,188,82,"prontera",155,182; areawarp "quiz_01",197,87,200,82,"prontera",155,182; areawarp "quiz_01",209,87,212,82,"prontera",155,182; areawarp "quiz_01",221,87,224,82,"prontera",155,182; end; } quiz_01,204,93,6 script Dice#evnt1 4_M_PIERROT,{ .@dName$ = "[^FF0000Dice^000000]"; mes .@dName$; mes "Please tell me your name"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "Are you sure thats your character name?"; close; } mes "Congrats. You've won."; close2; announce "Dice: We have a winner, "+.@name$+".",0; getitem Event_Coin,10; warp "prontera",155,183; disablenpc "Dice#evnt1"; .dEstart = 0; end; } // -- Mapflagsquiz_01 quiz_01 mapflag nowarp quiz_01 mapflag nowarpto quiz_01 mapflag noteleport quiz_01 mapflag nosave quiz_01 mapflag nomemo quiz_01 mapflag nobranch quiz_01 mapflag noloot quiz_01 mapflag noskill quiz_01 mapflag nopenalty
  22. Hi! Do you mean place them in boxes or just plane text and shows just the name of the items? Wanted to let the players view the item first then when they choose like the multi currency shop.
  23. Now you will see. It not (literal) currency though. . I have like. Event Coins, Daily Coins, Fishing Coins Hourly Coins and MVP coins.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.