Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Recent content by Slaughtlander

  1. Slaughtlander

    [Help] Well, this is embarrasing...

    You're welcome. Nice touch with the message, I did similar, but checked it all on the server-side: switch(cm.bankWithdrawMesos(withdraw)){ case 0: cm.sendNext("Sorry, you can not hold that many mesos. You can only carry 2,147,483,647 at a time.")...
  2. Slaughtlander

    [Help] Well, this is embarrasing...

    Yes you do need to check that they can hold the amount that they are trying to withdraw, and yours is almost identical to mine. else if((withdraw + cm.getMeso()) > 2147483647){ cm.sendNext("Sorry, you can not hold that many mesos. You can only carry 2,147,483,647 at a time.")...
  3. Slaughtlander

    [Help] Well, this is embarrasing...

    It is only expecting an integer, so the max value is 2.147b. Of course, the database can store as many as you want. If you want them to be able to deposit more than 2.147b at a time, it may make more sense to use getText. What version of maple are you running? Is the max meso you can carry more...
  4. Slaughtlander

    [Help] Well, this is embarrasing...

    sendGetText() and sendGetNumber() pretty much work the same way, except that sendGetNumber allows you to set the Default Amount, Min, and Max
  5. Slaughtlander

    [Help] Well, this is embarrasing...

    In my MesoBank I ended up using cm.sendGetNumber like this: cm.sendGetNumber("Your balance is: \r\n#e$#b" + balance + "#k#n mesos\r\n\r\n Please enter the amount that you would like to deposit:", 0, 1, 2147483647); Works very well for me, and a bit of added security as it will not let you...
  6. Slaughtlander

    BroadcastMsg NPC UI

    Thank you, this is very useful!
  7. Slaughtlander

    Development v117.2 Source

    Try dropping your DB and remaking it with the SQL from the Localhostr mirror. I can confirm that it works just fine, and there is no need to run any of the batch files other than the launcher of course.
  8. Slaughtlander

    NPC Script Issue

    I guess I'm feeling generous today. Here is what I have so far, should be obvious how to finish. Watch out for your curly braces where you are doing cm.sendOk("You don't ahve enough sleepy dreams) it should be a semicolon instead of the curly brace. Here you go: importPackage(Packages.server)...
  9. Slaughtlander

    NPC Script Issue

    Yea, fighting with ragezone formatting =[
  10. Slaughtlander

    NPC Script Issue

    You have quite a few issues with your code. You actually need 3 statuses, and your curly braces are a bit wonkey. This should work for you, but you will need to add in the code for the rest of the selections. importPackage(Packages.server); var status = 0; function start() { status =...
  11. Slaughtlander

    NPC Script Issue

    ALotOfPosts is correct. Every time that you make a selection, or press next on an NPC etc. the action method is called again, with mode, type and selection. In the case of selcting option 7, it would call the action method with mode = 1, selection = 7 In your script, if mode = 1, status is...
  12. Slaughtlander

    Development v117.2 Source

    Thanks for pointing me in the right direction. I updated the send and recv packets from another source and the quests are now working.
  13. Slaughtlander

    Development v117.2 Source

    Thank you. Also, quests are not working because I cannot accept any quests. The NPC just reloads. There are no errors being thrown that i can tell, and everything looks like it is in place inside the db, except for questactdata applicableJobs is empty for each field. I tried adding jobs to it...
  14. Slaughtlander

    Development v117.2 Source

    Source looks good. Lots of stuff working, only 1 big problem that I have run into. The first map you are in after character creation is completely black: You must be registered for see element. Is this because you had custom WZ's? If so, how can I get the regular map back? Other maps work...
  15. Slaughtlander

    [Maplestory] [Payed] Recruiting DEV

    PMed. Look forward to hearing back from you.
Back
Top