[Release] Event System

My bad. ;)




You should go talk to Krishan. It will end up on Valhalla after I finish it, and calm down. thx.

Also, it doesn't say that anywhere on Valhalla. It just says if you do give credits. I'm making it specific and you get mad. I didn't mean to offend you. so qq moar. You should have atleast read your own rules before you quote them.





You should be "handling personal matters" anyway.

Yo Jayy you forgot this rule though:

- NO LEAKS. We will remove them at the owners request, and warn you.

That is the rule that prevents your release from being on our forums. You said keep this of Valhalla, therefore it would be leaking to put it there. I think it's funny how Sparks and my post got deleted, even though my post wasn't even bad at all.
 
You're Generic right? I'm disappointed. This is Weaxer btw. I agreed with Sparks, and I really don't see a point in quoting that rule, since you're a member there yourself, if you know what I mean. Plus we do infract + add proper credits if that happens.
 
Yo Jayy you forgot this rule though:



That is the rule that prevents your release from being on our forums. You said keep this of Valhalla, therefore it would be leaking to put it there. I think it's funny how Sparks and my post got deleted, even though my post wasn't even bad at all.
I don't want it on Valhalla. So I said it like that, and Sparks assumed it wouldn't go on anyway. I take a precaution and he's mad. Lawl.
 
My Error O.O
Code:
init:
deps-jar:
Compiling 4 source files to C:\Documents and Settings\HP_Owner\My Documents\NetBeansProjects\ThePack\build\classes
C:\Documents and Settings\HP_Owner\Desktop\private server\The Pack Rev29\ThePack\src\net\sf\odinms\net\channel\ChannelServer.java:101: eventMap is already defined in net.sf.odinms.net.channel.ChannelServer
    private int eventMap = 0;
C:\Documents and Settings\HP_Owner\Desktop\private server\The Pack Rev29\ThePack\src\net\sf\odinms\scripting\npc\NPCConversationManager.java:418: eventWarp(int,int) is already defined in net.sf.odinms.scripting.npc.NPCConversationManager
    public void eventWarp(final int mapid, int max) {
2 errors
BUILD FAILED (total time: 1 second)
 
not work for me,
i typed the command !event on 910000021 10
and Event Has Been Activated
after that i go click the npc script you made,
The event system is currently not active.
 
I used the command and it said it was activated.
When i clicked on the npc and click on 'Yes'
It gave me a error on this line.
Code:
cm.eventWarp(cm.getEventMap(), cm.getMaxPlayers());

Edit : Never mind i fixed it.
 
Last edited:
hmm ? errors ?

MiniAxel - [Release] Event System - RaGEZONE Forums
 
Code:
    public void eventWarp(int mapid, int max) {
        MapleMap eventmap = mmf.getMap(mapid);
        int players = eventmap.getAllPlayer().size();
       
        if(players >= max) {
            c.getPlayer().dropMessage("The event map is full.");
        } else {
            c.getPlayer().dropMessage("You have been warped to the event map.");
            c.getPlayer().changeMap(eventmap, eventmap.getPortal(0));
        }
    }
    
    public boolean eventEnabled() {
        return c.getChannelServer().getEventActive();
    }
    
    public int getMaxPlayers() {
        return c.getChannelServer().getMaxPlayers();
    }

    public int getEventMap() {
        return c.getChannelServer().getEventMap();
    }

That should be placed to NPCConversationManager, correct ?
 
fix:

Code:
public void eventWarp(int mapid, int max) {
        MapleMap eventmap = mmf.getMap(mapid);
        int players = eventmap.getAllPlayer().size();
       
        if(players >= max) {
    MaplePacketCreator.serverNotice(1, "The event map is full!");
            
        } else {
             MaplePacketCreator.serverNotice(1, "You have been warped to the event map!");
        
            c.getPlayer().changeMap(eventmap, eventmap.getPortal(0));
        }
    }
    
    public boolean eventEnabled() {
        return c.getChannelServer().getEventActive();
    }
    
    public int getMaxPlayers() {
        return c.getChannelServer().getMaxPlayers();
    }

    public int getEventMap() {
        return c.getChannelServer().getEventMap();
    }


work 100%!
 
I don't want it on Valhalla. So I said it like that, and Sparks assumed it wouldn't go on anyway. I take a precaution and he's mad. Lawl.

i find this really funny. you know why? because when we say to leave it on Valhalla you go ahead and leak it here. than you guys defend it saying "if its public than it should be released and used" so to just piss you off because the modds have to agree for they say this. suck it up and deal with it for it is now public and we "now" have the right to post this anywhere we feel like (with cred of course).

now you are saying not to release on valhalla... thats an ass move bud if you know what i mean. its like saying ragezone does not have to follow the rules they set. if your going to play this game of saying "dont release on Valhalla" than we can say "dont release on ragezone" i think that sounds fair.

if modds delete this this thread/section fails for i just made a hugh point that you cant really defend for i used your own words against you.

ontopic: this is an ok release

ps modds i have this conversation saved for future calling too. ^_^ have a nice day


EDIT: BAMM smack in the face i found something that you cant do anything about
i just made a short audit of the odinsnow base and saw some realy huge flaws but since i am not interested in maplestory at all i dont care what you have or not have
for me its just about the gpl violations here
if you dont publish your work i am totally cool with it its your decision but if you post it somewhere everyone can redistribute it as they like as long as they leave author and license intact
You dont understand how this works, if he releases it to 1 person the 1 person can do with it whatever he likes like rereleasing aslong as the author and license stays intact

direct quote from the Supervisor himself. click the link thing at the top of the quote next to the name to goto the thread/spot where he said it

although that goes against what im trying to get across but still. he said if its public than we can post anywhere else with cred. if you want to change this we would be more than glad to. just say that you will and we will be marry with your choose and than this war can stop. agreed? *ps im not a admin or anything but a normal valhalla user. only trying to solve the problem that has occurred.

ether allow us to keep our releases on valhalla and ragezone releases on ragezone or update your rules saying we cant say to keep the release only on ragezone.
 
Back