DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • April 27, 2018, 01:44:48 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Seeting saved... but its not saving...  (Read 3130 times)
0 Members and 1 Guest are viewing this topic.
gilgalad
Guest
« on: May 09, 2005, 03:36:34 AM »

hi...

i setup the last version and opened my server. i entered the game setting and account creation. i tick the Infinite Days than saved. it said to me it s saved but when i enter the account creation again the part is not signed?... and users cant see the "new day" whats this?
Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #1 on: May 09, 2005, 03:48:21 AM »

This setting only applies to accounts created after you changed this setting...

If you want to grant an exisiting player unlimited days, you have to edit his account manually...

Or, if you want to grant this to all existing accounts (for what reason ever... It only makes sense, when it's your dev-server...) you can update them via SQL...

Code:
UPDATE accounts SET superuser = superuser & 256
Logged

Running for more than three years now:
gilgalad
Guest
« Reply #2 on: May 09, 2005, 03:51:10 AM »

Nope. my server is new. And also there is a pael for let them click new day. i can manually give my members new day but the new members must automaticly have this option... my question is " why cant infinite day option say its saved but it s not saving?"
Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #3 on: May 09, 2005, 03:53:40 AM »

There was a thread before, which said about settings not being saved... and Kendaer provided a patch for this...

I think this might be the problem, as the fix is not in 1.0.2
Logged

Running for more than three years now:
gilgalad
Guest
« Reply #4 on: May 09, 2005, 03:55:38 AM »

oh.. where is this post?.. really bad... Shocked
Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #5 on: May 09, 2005, 03:58:59 AM »

http://dragonprime.net/index.php?board=21;action=display;threadid=2154
Logged

Running for more than three years now:
gilgalad
Guest
« Reply #6 on: May 09, 2005, 04:08:30 AM »

i ve opened my configuraion.php and changed my 62. line with


if ((!isset($settings[$key]) && stripslashes($val)) ||
    (isset($settings[$key]) && (stripslashes($val) != $settings[$key]))) {


but still cant save my option, infinate days...

Setting showFormTabIndex to 4
Setting newplayerstartgold to 100
Setting maxcolors to 5
Setting transferperlevel to 5
Setting maxtransferout to 5
Setting logdnetserver to
Settings saved.

said but still not saved Smiley a big problem
« Last Edit: May 09, 2005, 04:10:44 AM by gilgalad » Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #7 on: May 09, 2005, 04:31:19 AM »

Run rawSQL...

Code:
SELECT setting, value FROM settings WHERE setting = 'defaultsuperuser'

it should read
setting | value
defaultsuperuser | 256

if value is 0, run the following SQL:

Code:
UPDATE settings SET value = 256 WHERE setting = 'defaultsuperuser'

This will update hte settings table and should be a workaround for now...
Logged

Running for more than three years now:
gilgalad
Guest
« Reply #8 on: May 09, 2005, 06:22:00 AM »

when i give this command

SELECT setting, value FROM settings WHERE setting = 'defaultsuperuser'

im taking this error

Table 'rp.settings' doesn't exist  Shocked
« Last Edit: May 09, 2005, 06:25:20 AM by gilgalad » Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #9 on: May 09, 2005, 07:27:37 AM »

if you are using a table prefix then - of course - you'd have to attach this to the table name...
Logged

Running for more than three years now:
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
29 Guests, 1 User
pharis
Home Forums News Downloads Login Register Advanced Search