|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Support::Linux Servers Support forum for Linux EQEMu users. |
10-21-2007, 05:56 AM
|
Sarnak
|
|
Join Date: Feb 2002
Posts: 52
|
|
Many thanks cavedude. Sourced it np.
|
10-21-2007, 10:37 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
The following changes are needed:
Code:
update items set stackable = 1 where clickeffect = -1 and maxcharges = 1;
update items set stackable = 1 where itemtype in (14,18,28,55,15,19,37,56,17,27,38,53,21);
update items set casttime = casttime_;
update items set stackable = 1 where name like 'Spell:%' and itemtype = 20;
update items set slots = 2097152 where slots = 4194304;
Some more itemtypes were added as being stackable, food/drink consumption is fixed, and many ammo slot items are now fixed. The players on PEQ didn't really find any other bugs with the new table so after this update all should be good. If more updates are needed, however I will post.
|
10-22-2007, 12:56 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
More fixes bard spells and items:
Code:
update items set slots = 2099200 where slots = 4196352;
update items set stackable = 1 where name like 'Song:%' and itemtype = 20;
|
10-23-2007, 01:57 AM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
Excellent guys, thank you for bringing this to a conclusion.
Cavedude, are the updates you mentioned in the peq-db svn? If so, I'll just continue to source from there. Thanks again!
|
10-23-2007, 02:32 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
They will be by the end of the day
|
|
|
|
10-23-2007, 03:08 AM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
A temporary solution appears to be running this on my Linux FC4 server:
Code:
echo 83886080 > /proc/sys/kernel/shmmax
This sets my current shared memory at 80mb, but when I reboot it will go back to the default 32mb. This is where things get scarey with Linux for me; the perma fix is to change Kernel source and recompile. I have never done this, and I will certainly screw things up
Some general info about making this change permanent (related to installing Ingres, but still informative):
Quote:
3.3. Kernel Parameters
The default settings of the Linux kernel are adequate for a development Ingres environment. For a live system, however, probably to increase the size of the database cache(s), you may want to change the built-in value of the SHMMAX parameter. This parameter sets the maximum size of a shared memory segment. By default, it is 32 Mb which allows for a somewhat lesser buffer cache.
You have two choices to change the value of SHMMAX:
As root, simply echo the new value into /proc/sys/kernel/shmmax:
Code:
#echo 83886080 > /proc/sys/kernel/shmmax
In the example above, we set the value of SHMMAX to 80 Mb. The change takes effect immediately but after a reboot, the original value is restored.
The other possibility is to change SHMMAX's default value in the kernel source (the relevant header file is /usr/src/linux/include/asm/shmparam.h if you have installed the source). In this case, you may also have to modify other parameters in the file, then rebuild the kernel. I suggest you do it only if you know what you are doing. For information on how to configure and compile the kernel see The Linux Kernel HOWTO by Brian Ward.
|
Source: http://www.linux.com/base/ldp/howto/...TO/sysreq.html
If I figure it out, I'll post it. I cannot imagine I am the only one with this problem... but maybe a newer distro could solve it?
|
|
|
|
10-23-2007, 05:24 AM
|
Developer
|
|
Join Date: Apr 2003
Posts: 589
|
|
I know openSUSE 10.3 doesnt have this problem. Actually its really not a "problem", its just a configuration. But if you are asking if there is a distro that doesnt need to have this configuration adjusted out of the box, then I know openSUSE 10.3 is one that doesn't need to be.
__________________
Read my developer notes at my blog.
Quote:
If it's not on IRC, it ain't l33t!
|
|
10-23-2007, 01:54 PM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Grandmaster items:
Code:
update items set slots = 2123776 where slots = 4220928;
|
10-23-2007, 01:59 PM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
Can also put the command in your init script so that it gets changed at startup every time.
But who reboots a linux server anymore?
That's so... so... Windows. hehehehe
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|
10-24-2007, 10:00 AM
|
|
The PEQ Dude
|
|
Join Date: Apr 2003
Location: -
Posts: 1,988
|
|
Another option is to put it in the beginning of your EQEmu startup script, that's what I am doing and it works fine even after a reboot.
CVS was just updated, btw.
Last edited by cavedude; 10-24-2007 at 06:04 PM..
|
10-25-2007, 02:14 AM
|
I built it I will Support it!
|
|
Join Date: Jun 2005
Location: Michigan
Posts: 214
|
|
I know this is referring to Sybase but this is a fix for shmat issues on Gentoo.
Quote:
Sybase requires at least 64MB of system wide shared memory. Unfortunately, most linux distros, including Gentoo are configured with on 32MB, by default. To verify that your system has not been configured with more, issue the command /sbin/sysctl kernel.shmmax. If it doesn't report at least 64MB, or 67108864 bytes, then perform one of the following: - To temporarily increase the shared memory until next reboot issue the following: /sbin/sysctl -w kernel.shmmax=67108864 - To increase it permanently, edit /etc/sysctl.conf to include the following:
kernel.shmmax = 67108864
To make this take effect from now on issue a /sbin/sysctl -p.
|
|
10-26-2007, 01:49 PM
|
AX Classic Developer
|
|
Join Date: May 2006
Location: filler
Posts: 2,049
|
|
Quote:
Originally Posted by sesmar
I know this is referring to Sybase but this is a fix for shmat issues on Gentoo.
|
This worked on my Mandriva too , thanks.
|
10-30-2007, 01:09 AM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
Yup, will work on pretty much any distro
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 07:56 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|