-
Posts
1,339 -
Credits
0 -
Joined
-
Last visited
-
Days Won
3 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by Szakalaka
-
-
Thats what i was talking about :)
Then why no const wchar_t*?
-
I sure do. You reverse the existing compiled binary and make runtime patches to it, get data from it etc. Do your thing wish u the best :)
Aha, but why u cant? :)
-
But on a serious note, why do you use OpenProcess, VirtualProtectEx and all the HANDLE based operation when its a dll so its in the same process as the server itself?
I briefly looked throught the code :) Want to give opinion.
extern HANDLE server; // externs in such scenario are bad, do you even need the handle if dll is indide?
CUserSocket::IgnorePacket::IgnorePacket(const wchar_t *format, ...)
: std::exception() // this is redundant, default constructorDisassemble(packet, "dd", &skillId, &skillLevel); // runtime format is very error prone. Imagine you write s instead of d in some rare packet. Disaster!
Many things should be specified as const. For example, shouldnt "wchar_t* CUser::GetName()" be actually const whar_t* ? (Not saying about raw pointer risk)
Singleton should definitely return a reference. With "static CSkillEnchantDB* GetInstance();" you can switch the pointed object, you can even delete it and do many other bad stuff u avoid using refernce. And btw, its possible to accidentaly copy thsi singleton xD (mark copy operator as deleted)
Logger should be wrapped for safe usage. Again, if you pass an int and type "s" you are dead. With usage of tempaltes you can make compiler generate typesafe code and automatically (and properly) create format for you :)
Generally there are too many static stuffs
But thats only my humble opinion, just want to help ;)
And to guy above, i wont even comment. Pretty sure you know jack shit about this language
-
So many opportunities for templates. 0 templates :(
Oh i see that opportunity for packet sending and receiving... 100% templated... Oh!
Can you make my dream come true?
-
Im confused.
-
Thats not "Lineage"
-
No
-
Wow so cool! Can i touch you?
-
6) Add Russian l2 music to Your web site (mostly hip hop)
That would be my favourite feature :D
-
Thanks for what? Only my close friends are using it, sooo? :D
-
-
Here we go again ~~
-
Basically, if you can compile C code in head, you will get around this pretty quickly
-
Download "ollydbg" and spend next 3 years learning vaarious stuff
-
You cant "decompile" dll like java. You got machine code
-
Nothing is. But someone asking such question definitely wont manage to do it by himself in next year :D
-
Kappa. The 3d muonline
They are using some own-made game engine, did you see how the textures are popping up like wtf ; O
-
Do i do any client editing?
-
for 10000th time this girl is my 3d model... why people cant read?...
Nice i will know who to talk to when i'll need some meshes in few days xD
-
Whos that girl in your avatar? Why is literally everyone having some photoshop girl in profile pic? Whats wrong with this forum
-
hungarian notation :(
-
Heeeeeyo its 6 years since i registered. Long ass time, isnt it.
Please treat yourselves ~~
-
Whaaat are they seriously storing passwords as plain text?
-
And so, it seems that 3d version of MU was finally created.
Myext64 - My New Opensource Gracia Final/epilogue Extender
in Server Shares & Files [L2OFF]
Posted · Edited by Szakalaka
what
the
actual
fuck
Are you trying to say you are forced to use c++03? Thats gotta be PAINFUL
On the other hand - it is a compield binary so you never are forced to use 2005 version, well, you arent even forced to use cpp :D