mines dont even glow...i have no idea y
Printable View
mines dont even glow...i have no idea y
Well, it's working for me. Try entering these commands:
The glow will now correspond to the grade and color of the gem.Code:/item 1 8 9 1 317 1 > Wooden Sword(9) w/ R7
/item 1 8 5 1 317 1 > Wooden Sword(5) w/ R7
/item 1 8 9 1 314 1 > Wooden Sword(9) w/ R4
/item 1 8 5 1 314 1 > Wooden Sword(5) w/ R4
/item 1 8 9 1 313 1 > Wooden Sword(9) w/ R3
/item 1 8 5 1 313 1 > Wooden Sword(5) w/ R3
/item 1 8 9 1 327 1 > Wooden Sword(9) w/ S7
/item 1 8 5 1 327 1 > Wooden Sword(5) w/ S7
/item 1 8 9 1 324 1 > Wooden Sword(9) w/ S4
/item 1 8 5 1 324 1 > Wooden Sword(5) w/ S5
/item 1 8 9 1 323 1 > Wooden Sword(9) w/ S3
/item 1 8 5 1 323 1 > Wooden Sword(5) w/ S3
..and so on..
so u say type the scoketed gem in insted of puting it in manually?
Now error with New TRose, i update it in Rose Online Evo carpet, and gameguard have an error :(
peps u sed place the socket in the command like /item 1 8 9 1 317 1 > Wooden Sword(9) w/ R7 but i put it in a weapon by draging the gem over
ya but when i put it in manually it will glow a different colour i thought you sed when u spawn it will glow the right colour?
What client are you using? Btw, I'm not using the STBs in the SVN. I extract my own STBs to be sure I have the latest ones.
I can spawn a item with a slot, and then spawn a G7.. that works too but colors are different then.
I think the file items.sql hasn't been updated, the 'create' query should contain the new field:
CREATE TABLE `items` (
`owner` int(11) default NULL,
`itemnum` int(11) default NULL,
`itemtype` int(11) default NULL,
`refine` int(11) default NULL,
`durability` int(11) default '40',
`lifespan` int(11) default '100',
`slotnum` int(11) default NULL,
`count` int(11) default '1',
`stats` int(11) default '0',
`socketed` int(11) default '0',
`appraised` int(11) default '0',
`gemid` int(11) default '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Greets
what works? what does it do exactly?
someone know where to download 117_117 na? btw peps.. i didnt use ur code.. maybe thats why it isnt good color? and which Visual studio do i need for DEBUG version? so i need 117_117 NA and Visual Studio for DEBUG version.
Is anyone having problems with World Server? Like eating LOTS of memory and resources? After like 40 secs after loading World Server my machine goes like crazy and almost froze... And it began after compiling version .81
Greets
im having lots of crashs after 80 revision
Rev 81 works just fine for me. :)
- This will fix the item refine(3)
> Open: gmcmds.cpp
> Find:
> Replace:Code:{itemrefine = 42;}
Code:{itemrefine = 48;}
- This will fix the crashing of world server if zuly is given to a player that doesn't exist
> Find:
> Replace:Code:// -----------------------------------------------------------------------------------------
// GM: Add/Remove/Drop/Set zuly
// -----------------------------------------------------------------------------------------
bool CWorldServer::pakGMZuly( CWorldClient* thisclient, int mode, int amount, char* charname )
{
CWorldClient* otherclient = GetClientByCharName(charname);
if (mode == 1)
{
//ADD
otherclient->c_zuly += amount;
BEGINPACKET( pak, 0x71d );
ADDQWORD( pak, otherclient->c_zuly );
otherclient->SendPacket( &pak );
}
if (mode == 2)
{
//REMOVE
otherclient->c_zuly -= amount;
BEGINPACKET( pak, 0x71d );
ADDQWORD( pak, otherclient->c_zuly );
otherclient->SendPacket( &pak );
}
if (mode == 3)
{
//DROP
CDrop* thisdrop = new CDrop;
thisdrop->clientid = GetNewClientID();
thisdrop->type = 1; // ZULY
thisdrop->pos.x = otherclient->pos.x;
thisdrop->pos.y = otherclient->pos.y;
thisdrop->posMap = otherclient->posMap;
thisdrop->droptime = time(NULL);
thisdrop->amount = amount;
thisdrop->owner = 0;
DropsList.push_back( thisdrop );
}
if (mode == 4)
{
//SET
otherclient->c_zuly = amount;
BEGINPACKET( pak, 0x71d );
ADDQWORD( pak, otherclient->c_zuly );
otherclient->SendPacket( &pak );
}
return true;
}
Save and compile. :)Code:// -----------------------------------------------------------------------------------------
// GM: Add/Remove/Drop/Set zuly
// -----------------------------------------------------------------------------------------
bool CWorldServer::pakGMZuly( CWorldClient* thisclient, int mode, int amount, char* charname )
{
CWorldClient* otherclient = GetClientByCharName(charname);
if(otherclient != 0)
{
if (mode == 1)
{
//ADD
otherclient->c_zuly += amount;
BEGINPACKET( pak, 0x71d );
ADDQWORD( pak, otherclient->c_zuly );
otherclient->SendPacket( &pak );
}
if (mode == 2)
{
//REMOVE
otherclient->c_zuly -= amount;
BEGINPACKET( pak, 0x71d );
ADDQWORD( pak, otherclient->c_zuly );
otherclient->SendPacket( &pak );
}
if (mode == 3)
{
//DROP
CDrop* thisdrop = new CDrop;
thisdrop->clientid = GetNewClientID();
thisdrop->type = 1; // ZULY
thisdrop->pos.x = otherclient->pos.x;
thisdrop->pos.y = otherclient->pos.y;
thisdrop->posMap = otherclient->posMap;
thisdrop->droptime = time(NULL);
thisdrop->amount = amount;
thisdrop->owner = 0;
DropsList.push_back( thisdrop );
}
if (mode == 4)
{
//SET
otherclient->c_zuly = amount;
BEGINPACKET( pak, 0x71d );
ADDQWORD( pak, otherclient->c_zuly );
otherclient->SendPacket( &pak );
}
}
else
{
BEGINPACKET(pak, 0x702);
ADDSTRING(pak, "User does not exist or is not online!");
ADDBYTE(pak, 0)
thisclient->SendPacket(&pak);
}
return true;
}
thanks but i doubt this is the server crashing problem but ill see
This is the problem I'm having with World Server:
After launching it, it keeps loading more and more and more data, until this happens:
http://img292.imageshack.us/img292/2...ererrorlq7.gif
Some secs after that, the "You are low in virtual memory" popup appears. I guess there's is a memory leak in the new code...
(Note: I haven't loaded anything else but the server)
Greets
Same here... after Char selcet this append http://krawallski.kr.funpic.de/Rose/Pics/fun/error.jpg
For me this revision have a lot of problems, i cannot login....
Crash in connecting to server... :(
I can run and play without any problems with rev 81?