Ultimate eRose-EVO Code Changes

Status
Not open for further replies.
you need to make a color for gmactions... check out log.cpp & log.h and tada, there you go (file AND server logging

@struct, i dont have them sorry
 
Last edited:
Thank you very much Caali, This should help me be on my way (Currently Learning C++)

@"tehleechers"

Stop asking for a compiled pack... He won't do it and I don't want him to do it... If you can't add these fixes yourself then dont even have the source code on your computer... Please dont sit around these forums posting in EVERY fk'in thread for people to release their files... Everyone is sick of it so stop -_-;; I will be doing my work and PMing or telling the people worthy of having


and Thank you again Caali... this is very helpful​
 
Thank you very much Caali, This should help me be on my way (Currently Learning C++)

@"tehleechers"

Stop asking for a compiled pack... He won't do it and I don't want him to do it... If you can't add these fixes yourself then dont even have the source code on your computer... Please dont sit around these forums posting in EVERY fk'in thread for people to release their files... Everyone is sick of it so stop -_-;; I will be doing my work and PMing or telling the people worthy of having


and Thank you again Caali... this is very helpful​
your words in gold, my friend :worthy:
 
Hey Caali, lets stop making GM commands and continue normal things!
i think he is doing a good job but if he do the code in the forum and add the file that he fixed that ppl don't have to search anymore becous some ppl are (i don't like to say this so i don't)that they can't find it those ppl just replace there old file for the new 1
 
Last edited:
What may be another good thing Caali, Is if you post current bugs etc etc... So people dont have to go on their server and play for an hour or 2 just to find bugs... Sorry if this seems like a hijack but:

People.... Post current bugs here too... Don't over flood it, So if you see someone who already posted one or if its not important at all... dont even post it​
 
Code:
main.cpp(56) : error C2065: 'CLoginServer' : undeclared identifier
main.cpp(56) : error C2065: 'server' : undeclared identifier
main.cpp(56) : error C2061: syntax error : identifier 'CLoginServer'
main.cpp(57) : error C2227: left of '->StartServer' must point to class/struct/union/generic type
type is ''unknown-type''
main.cpp(60) : error C2541: 'delete' : cannot delete objects that are not pointers
 
#1 Those werent the kind of bugs I was talking about :dry:

#2 To me it looks like you did something very very wrong if it says CLoginServer is a undeclared Identifier (It means pretty much its not in the source.. like if c_atk would be an undeclared Identifier- It would mean... c_atk isnt set in the source so when the source asks for it... its not their to give... get what Im saying?

@shido .... No... errors = Work... Which sometimes actually... DO HAVE TO DO -_-; Theres a first for everything eh? ha.

@Caali Im sorry to see even after I posted that a douche still asked... and could you PM me with yer MSN if you have MSN... I like having devs on my lists for refrence if you don't mind
 
Last edited:
wow this is sick a lot of thiings thanks
this gives me an idea of how to do the ip's from the config
 
#2 To me it looks like you did something very very wrong if it says CLoginServer is a undeclared Identifier (It means pretty much its not in the source.. like if c_atk would be an undeclared Identifier- It would mean... c_atk isnt set in the source so when the source asks for it... its not their to give... get what Im saying?

no **** einstein.. but my char, login and world have pretty much the same main.cpp's and I only get the undeclared errors at the login and world main.cpp's the char server was built without a prob.. so thats why I dont get the problem.
 
@rl2171 ops, sry, just remove the Log ( MSG_GMACTION ... line.
i added this to every gm command, so i see which gm uses which command at the server :)

Caali,

I like those logs in there too, if you already have them in the code, would you mind leaving it in there, remark it out (and for any of us using the logging, we can unremark it)?

I have most of them working, tele is having a problem with the logs along with along with ban and kick & class

I think the rest of them are working....well so far ;-)

Thanks again for the great work!
 
@Caali,

Isn't this one need the exprate=25 (or whatever number) in the config.ini?

Something strange if this is the case, I place it below the welcomemsg (which is working) and strangely the welcomemsg doesn't show anymore.

Any thoughts on it?



OPEN: worldserver.cpp

FIND:
Code:
#include "worldsockets.h"

AFTER, ADD:
Code:
#include "../common/config.h"

FIND:
Code:
    // -------------- GIVE OUT EXP/ITEMS/RESPAWN --------------

AFTER, ADD:
Code:
   int exprate  = ConfigGetInt ( "config.ini" , "exprate"  , 1 );

FIND:
Code:
 thisclient->c_exp += STB_NPC.rows[thismon->montype][17] * EXPRATE;

REPLACE WITH:
Code:
thisclient->c_exp += STB_NPC.rows[thismon->montype][17] * exprate;

CLOSE: worldserver.cpp

OPEN: worldsockets.h

FIND AND REMOVE:
Code:
#define EXPRATE 25

CLOSE: worldsockets.h

YOU'RE DONE !








 
I don't know why, but none of these are working for me. One odd thing was that when I did the exp thing, it didn't work. I closed and restarted my wamp, Navicat, and my eRose and it still wouldn't work. Suddenly, it started working after a couple restarts of the programs. I don't understand why.
 
@Caali,

FYI, I placed everything exactly from your messages, it all compiled with no problems.

I kicked a char (unless it was suppose to the the account) and it took a minute or so, then the world server crashed.

What type of information do you need about this?

Thank you!

***************

Added - Ban crashed the world server too.
 
Last edited:
these like...don't work for me...so yeah

i have to compile don't i...i can't just add the text into the files....right....


i can't do that >_>
 
Last edited:
Alright struct, Manage your files right and you wont get **** like that "einstein" lol try to insult me when it comes down to it... You just can't manage your files; Come'on now.​
 
Status
Not open for further replies.
Back