Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, DotBot, Yandex

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
621
KellieBusb
Today's Birthdays
Rane (42)
Related Links
» SmaugMuds.org » General » Coding » removing highlevel eq on logo...
Forum Rules | Mark all | Recent Posts

removing highlevel eq on logout
< Newer Topic :: Older Topic > yeah dont you hate it?

Pages:<< prev 1 next >>
Post is unread #1 Feb 8, 2004, 6:56 pm
Go to the top of the page
Go to the bottom of the page

xander

GroupMembers
Posts35
JoinedDec 17, 2003

I havent been to the forum in a while as i have been doing a major overhaul on my codebase. but one thing im stuck on is locating a peice of code...

you all know if you are level 40, and have a level 50 item, it will scrap when you logoff. that is somthing i want to remedy, but cant find exactly where it's located.

if you can point out where i should be looking it would be a huge help.

thanks

p.s. (its a smaug 1.4a version)
       
Post is unread #2 Feb 8, 2004, 7:32 pm   Last edited Nov 24, 2007, 3:13 pm by Samson
Go to the top of the page
Go to the bottom of the page

Greven
Magician
GroupMembers
Posts204
JoinedMar 5, 2005

I beleive that you want to look in fwrite_obj.
    if ( (ch && ch->level level)
    || ( obj->item_type == ITEM_KEY && !IS_OBJ_STAT(obj, ITEM_CLANOBJECT ))
    ||   obj_extracted(obj) 
    ||   IS_OBJ_STAT( obj, ITEM_PROTOTYPE ) )
	return;
Should become
    if ( ( obj->item_type == ITEM_KEY && !IS_OBJ_STAT(obj, ITEM_CLANOBJECT ))
    ||   obj_extracted(obj) 
    ||   IS_OBJ_STAT( obj, ITEM_PROTOTYPE ) )
	return;


That should be all you need.
       
Post is unread #3 Feb 8, 2004, 7:50 pm
Go to the top of the page
Go to the bottom of the page

xander

GroupMembers
Posts35
JoinedDec 17, 2003

like a charm.. thanks, took me forever to find that.
       
Pages:<< prev 1 next >>