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 Drum

  1. D

    [Secured]MapleBit CMS Security Enhancement

    agreed - definitely PR anything like that. thanks for your availability! i recall running a pentest tool over MapleBit a while ago (OWASP ZAP), and it didn't find anything major at all, particularly nothing related to XSS or SQL injection vulnerabilities as described by OP. although to be fair...
  2. D

    [HELP] Auto mob spawn after a time with announcement?

    Can probably just use the TimerManager class - it's included in pretty much every Java source on here. Check out some of the examples throughout the source.
  3. D

    Unusual lag happening in certain maps for v83

    I remember dealing with something similar when mobs were spawned and killed quickly (bomb mob). It was due to just generally non thread-safe packet transmission code (incorrect handling of the mutex in the packet encoder from memory). That's all I can really remember about it sorry.
  4. D

    Increasing java heap size.

    Maybe your application doesn't use more than 1.78GB. You can also use the 64-bit flag -d64 to run the JVM in 64-bit.
  5. D

    PvP Event

    Where and when will winnerprize() be called?
  6. D

    Error in NPC Script , cannot convert to Intergers ???

    randomitems is of type array. The gainItem() method signature defines the first parameter to be java.lang.Integer. The error printed is telling you that the parser cannot implicitly convert an array to an integer. I think you might've intended this instead: cm.gainItem(randomitems[0], 1); //...
  7. D

    [Help] News System Problem

    Don't know why link didn't get included before. Look at it and read my previous post.... http://docs.oracle.com/javase/7/docs/api/javax/script/Invocable.html#getInterface(java.lang.Class) Don't know why link didn't get included before. Look at it and read my previous post....
  8. D

    [Help] News System Problem

    As well as having the typo already pointed out, look at that documentation, and look at your NPCScript interface. Are all the methods defined there implemented in your script? If not, it's not surprising an NPE is thrown.
  9. D

    impossible funny packet/server question

    I'm curious about this? Sounds so cool! How's it done?
  10. D

    Custom CPQ (NPC Script)

    public int countMonster (int map) { return c.getChannelServer().getMapFactory().getMap(map).countMonster(map); } will not work. That will attempt to count the number of monsters with the id 'map', which is a map ID, not a mob ID. public int getMonsterCount(int map) { //...
  11. D

    Private Server v142 error help

    We're gonna need to see some code man. Post your run_startup_configurations function from ChannelServer.java, and in particular point out line 110 for us.
  12. D

    Custom Quest Progress v83?

    @oxysoft haha OT; Add this in MaplePacketCreator if you don't already have it: /** * Sends a player hint. * * param hint * The hint it's going to send. * param width * How tall the box is going to be. * param height *...
  13. D

    Custom CPQ (NPC Script)

    Of course it can. You could modify the implementation of countMonster(int id) to handle passing in -1 as the id to indicate to count all monsters on the map, not just of one ID. However I think that's less clean than adding a new method. Try defining this in NPCConversationManager: public int...
  14. D

    Custom CPQ (NPC Script)

    countMonster(int id) as declared in your MapleMap file takes an integer parameter (presumably the ID of the monster you want to count the occurrence of in your map), you have called it with no parameters in your NPCConversationManager's countMonster() function. @OP This is so cool! I...
  15. D

    Help > Ingame Voting questions

    You can also just literally read and save the value of votepoints from your database whenever you do anything with it instead of having it as a instance variable. Schmoconut's suggestion is far better though. That's the proper way to do this, and is more extensible to larger player bases.
Back
Top