[Release] FIX for decoder error

Status
Not open for further replies.
Read the instructions carefully!!! There are two void stop
Change the one that takes only one argument
It's not rocket science
 
O....k....then. I see absolutely no difference between the do except the other has "char* name" as an argument. I have no idea what the difference is, but w/e. Thx for the release.
 
LOL
PHP:
Skills.cpp
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(27) : error C2535: 'void SkillTimer::stop(Player *)' : member function already defined or declared
        c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(20) : see declaration of 'SkillTimer::stop'
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(124) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(128) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(132) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(136) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(140) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(144) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(148) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(152) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(156) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(160) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(164) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(168) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(172) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(176) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(180) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(184) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(188) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(192) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(196) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(200) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(204) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(208) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(212) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(216) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(220) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(224) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(228) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(232) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(236) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(240) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(244) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(248) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(252) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(256) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(260) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(264) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(268) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(272) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(276) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(299) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(306) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(312) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(318) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(324) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(331) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(338) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(344) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(352) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(373) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(382) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(389) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(394) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(401) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(410) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(417) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(437) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(455) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(461) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(480) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(481) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(488) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(497) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(505) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(526) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(563) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
c:\documents and settings\hp_administrator\desktop\fatemsrev7\maplestoryserver\maplestoryserver\skills.cpp(599) : error C2660: 'SkillTimer::stop' : function does not take 2 arguments
MySQLM.cpp

you replaced the wrong void stop function.
 
THEN HE UPDATED IT WHILE I WAS WRITING DUMBASS!
I COULDNT SEE IT!

Lay off the flames, and easy on the caps... it makes you seem immature.

As for the topic, I'm seeing what I like

========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ==========
 
Lay off the flames, and easy on the caps... it makes you seem immature.

As for the topic, I'm seeing what I like

========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ==========

haah u right.. lets not make a fight :P but next time dont tell me to look good :P just wanted to help u tough :/
 
haah u right.. lets not make a fight :P but next time dont tell me to look good :P just wanted to help u tough :/

You told me to look, simply reversed back to you. And there won't be a "fight" regardless. It comes down to two things, you flame me and I do not flame back, making yourself look stupid. Or you can do what you just did, and write in lower-cased letters and avoid dirrecting put-downs and/or cuss towards another.
 
You told me to look, simply reversed back to you. And there won't be a "fight" regardless. It comes down to two things, you flame me and I do not flame back, making yourself look stupid. Or you can do what you just did, and write in lower-cased letters and avoid dirrecting put-downs and/or cuss towards another.

i just felt some attacking waves comin from u when u said me that "look better time read cerfully"

kinda hurt.....
 
@jwshan:

You might want to add this to your post. It might help... most people don't want to read replies.

Original Code:
Code:
void stop (Player* player, char* name){
        for(unsigned int i=0; i<timers.size(); i++){
            if(player == timers[i].player && strcmp(timers[i].name, name) == 0){
                Timer::timer->cancelTimer(timers[i].id);
                break;
            }
        }
    }
    void stop (Player* player){
        for(unsigned int i=0; i<timers.size(); i++){
            if(player == timers[i].player){
                Timer::timer->cancelTimer(timers[i].id);
                break;
            }
        }
    }
Replace the BOTTOM one.... and it should work.
Like this:
Code:
void stop (Player* player, char* name){
        for(unsigned int i=0; i<timers.size(); i++){
            if(player == timers[i].player && strcmp(timers[i].name, name) == 0){
                Timer::timer->cancelTimer(timers[i].id);
                break;
            }
        }
    }
    void stop (Player* player){
        for(unsigned int i=timers.size(); i>0; i--){ //fix missing timer cancels
            if(player == timers[i-1].player){
                Timer::timer->cancelTimer(timers[i-1].id);
            }
        }
    }

yeh... add that to your post. Will help the newbies.
 
I already gave the needed instructions in terms that anyone should know if they want to learn to code. I am not going to spell out every single letter line by line.
 
Lol .... just quote my post and copy paste? lol.. jk.

I guess you're right. but "BOTTOM one" is more ... accurate than 1 term w.e...
Oh well...

"Pro's are made to teach noobs, and noobs are made to be pro's." Lol


THANKS A LOT.. now i don't get crashes anymore! Keep up the good work... and find more fix!

I hope you can fix the error where it gets your to "list" and "int 3"...

Thanks.
 
may have fixed the Decoder problem but what about the Timer.cpp its bugged in a few places one place i know of right now is here...

Code:
void Timer::timerThread () {
    while (!terminate) {
        try {
            // find minimum wakeup time
            OneTimer* minTimer = findMin();
            long msec = minTimer==NULL ? msec = 1000000000 : minTimer->t - GetTickCount();
            if (msec <= 0) {
                minTimer->handler->handle(this, minTimer->id);
                remove (minTimer->id);
                delete minTimer;
                continue;
            }
            DWORD r = WaitForSingleObject(timerEvent, msec);
            if (r == WAIT_OBJECT_0) continue;
            if (r == WAIT_FAILED) {
                // TODO: write message
                return;
            }
            if (minTimer != NULL) {
                minTimer->handler->handle(this, minTimer->id);
                remove (minTimer->id); // This Line is bugged for some reason use Debug mode and watch it might break here.
                delete minTimer;
            }
        }
        catch (...) {
            // TODO error
        }
    }
}


where it says " // This Line is bugged for some reason use Debug mode and watch it might break here." is where a Break happens in the server if you watch in debug mode.
 
Status
Not open for further replies.
Back