lol!!
good advice
ill edit right away
Printable View
lol!!
good advice
ill edit right away
Does this work for 9b only?....i have rev 7 lmao :)
We also need
#include "ChannelsPlayers.h"
#include "ChannelsPacket.h"
we have that in Channels.cpp, but no ChannelsPlayers.h or ChannelsPacket.h file.
It dosnt work for Rev 7
It is so complicated cos there are codes everywhere in this thread. :/
Can someone post a REV 7 Guide?
I did all it said. but however didn't compile properly for me, i am now using my backup, and not adding this.
I do want to add this so someone please post a Rev 7 guide? :/
Isnt it more fun to play one world? Community ain't 50000 people yet :D
But we so need a second world, i have a high populated server, i need this to work for rev007 :/
i've explained it in the first post
you have to do everything the way i explained it
but the bottom of the post says how to do it with rev8 or before
read better the next time ;)
It just says that, do we do everything else that u posted or what?
Please post a specific guide that outlines what exactly us rev 8 and before users.
Thanks?
do everything ONLY from the first post!
the other post don't matter anymore
but, in the first post you should do this
Open up your server and go to Worlds.cpp
find this
add this beneath itCode:void Worlds::showWorld(PlayerLogin* player){
if(player->getStatus() != 4){
// hacking
return;
}
World world;
strcpy_s(world.name, 15, "Scania");
world.channels = 1;
world.id = 0;
LoginPacket::showWorld(player, world);
LoginPacket::worldEnd(player);
}
don't look at the other posts in this threadCode:void Worlds::showWorld2(PlayerLogin* player){
if(player->getStatus() != 4){
// hacking
return;
}
World world;
strcpy_s(world.name, 15, "ChickenMS");
world.channels = 1;
world.id = 9;
LoginPacket::showWorld(player, world);
LoginPacket::worldEnd(player);
}
just use this and it will work
[QUOTE]kippieeej's text[QUOTE]
Not only doing that, you also have to add this to Worlds.h
So the guide would be;Code:static void showWorld2(PlayerLogin* player, World world);
1. Open up Worlds.cpp and find this
Add this beneath itCode:void Worlds::showWorld(PlayerLogin* player){
if(player->getStatus() != 4){
// hacking
return;
}
World world;
strcpy_s(world.name, 15, "Scania");
world.channels = 1;
world.id = 0;
LoginPacket::showWorld(player, world);
LoginPacket::worldEnd(player);
}
2. Open up Maps.h and findCode:void Worlds::showWorld2(PlayerLogin* player){
if(player->getStatus() != 4){
// hacking
return;
}
World world;
strcpy_s(world.name, 15, "ChickenMS");
world.channels = 1;
world.id = 9;
LoginPacket::showWorld(player, world);
LoginPacket::worldEnd(player);
}
Add this beneath itCode:static void showWorld(PlayerLogin* player);
Compile and you are done.Code:static void showWorld2(PlayerLogin* player);
If u will do that thing to the SQL:
It would work?Quote:
ALTER TABLE `characters` ADD `worldid` INT( 1 ) NOT NULL DEFAULT '0';
try do change one of the chr the world id to 2 and see if it is working..
(I am not good at C++, java, SQL and all that Just gusting..)
well, it would work if it is coded into the server (i am currently doing that)
but
if you'd make it NOT NULL and scania is 0..
then you got a little problem xD
if i get everything to work i will post that in my first post kay?
i am now making the server store the info
but it's hard and i think i will be making a thread in the dev section