PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Cmd Bar Gumps problems....

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion
Display posts from previous:   

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Sat Oct 28, 2006 12:41 pm    Post subject: Cmd Bar Gumps problems.... Reply with quote



How can i change Gumps background in smdbar scripts?

Thanks

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 355
Location: San Diego, California

PostPosted: Sat Oct 28, 2006 2:35 pm    Post subject: Reply with quote

Thats a script deal, not core and relates to the distro so I've moved it.

The gumps for it are pre-rendered on POL start and stored as gumps ready to be sent (for speed). The script that does this is in the control package's initializer directory and the script is cmdbarmenus.src

You could also change the gump it wants to use in the gumpinfo.cfg file in the gumps package.

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Sat Oct 28, 2006 7:10 pm    Post subject: Reply with quote

I'm afraid Austin for bad place posting Sad

I followed all your instructions and i've changed "background" in cmdbarmenus.src..... but nothing appens Sad




Colud you help me? Thanks

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sat Oct 28, 2006 7:15 pm    Post subject: Reply with quote

The gump cache needs to be refreshed for it. Can't remember if that's an option in the menu on the left side or not though off hand Mad

Author Message
MuadDib
POL Developer


Joined: 13 Feb 2006
Posts: 830
Location: Indiana, USA

PostPosted: Sat Oct 28, 2006 7:16 pm    Post subject: Reply with quote

Look under Settings, and see if a spot to refresh or clear gump cache.

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Sat Oct 28, 2006 7:17 pm    Post subject: Reply with quote

Mmmmm i changed background value and i restarted POL from zero... no sufficent?

PS

Obviosly i recompiled it Razz

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Sat Oct 28, 2006 7:26 pm    Post subject: Reply with quote

Quote:


GFResizePic(gump, 0, 0, GFGetCfgConst("BackGrounds", "STONESLAB"), 30, 30);



I triyed all backgorunds value of gumpinfo.cfg..... but nothing appens Sad

I'm crying Sad

Author Message
Austin
POL Developer


Joined: 30 Jan 2006
Posts: 355
Location: San Diego, California

PostPosted: Sat Oct 28, 2006 7:28 pm    Post subject: Reply with quote

Looking at your screen shot it looks like you have custom gumps on your shard. You probably need to go to gumpinfo.cfg and renumber them to match the gump ID numbers in your shard's files.

On POL restart I do believe it completely rebuilds the cmd bar gumps so that should be enough, and under settings, if youre an admin you get a button to rebuild the gumps there as well.

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Sat Oct 28, 2006 7:38 pm    Post subject: Reply with quote

Yes i have custom gumps online. I will try but this thing is very strange...

Thanks a lot Austin, i tell you when i fix it.... i hope i will fix it...

Author Message
shaka drl



Joined: 11 Aug 2006
Posts: 74

PostPosted: Sun Oct 29, 2006 12:11 pm    Post subject: Reply with quote

FIX it, thanks a lot Austin. I'm in debt with you Smile

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty