Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   Reserved Slots for some players and Builders 1 (https://postpacific.mmorpg-game.online/showthread.php?t=1462)

archonus 15.08.2005 18:26

Reserved Slots for some players and Builders 1
 
There is a way to make reserved slots for some players even if the server is full? and builders 1 always can login even if the server is full too?
txs
sry my english :p

lamnh 15.08.2005 18:37

Try open ur L2server - Set - Set limit , u will see this.

archonus 15.08.2005 20:52

LetBuilder=1 doesnt let gms login if server is full :S

darkagent 16.08.2005 05:35

builder char or builder acc ?
if you setted up bilder like //setbuilder name 1, its sets only char's builder=1 state in mssql db, you may need to correct builder state in lin2db:user_account, and after this all works correctly.

p.s. sorry for my bad english =)

Eliot 16.08.2005 11:34

You tried or You assume ?
It never worked properly, and i guess it newer will.

archonus 16.08.2005 12:34

i have 6 admin accounts with builder 1 and noone works with letbuilder=1 or 0 i already test both ways
if server full cant login
anyone has this working or know a way to make reserved slots ?
txs

nepsquare 16.08.2005 13:22

L2server>Set>Set Limit, Check box.

lin2WORLD:builder_account : login_name >> 1 >> user_id
Click the exclamation point.

Check: lin2WORLD:user_account : builder = 1

Reboot Server.

Works.

//quick_edit stupid_entry 2005 08 16 17 03

BiGBoY 16.08.2005 14:58

Have u guys ever took a good look at user_account table?
there is no such column like builder or anything similar.

Osito2Dancer 16.08.2005 15:40

Lin2World.DBO.builder_account. Theres no user_account on lin2world.

Oso

Professor F 17.08.2005 00:10

lin2db.user_account
lin2world.builder_account
definitely exist... should I print screen to prove?

aseren 17.08.2005 00:19

No , it excists we all know this , they just need to open there eyes.

darkagent 17.08.2005 04:00

rus: kto ishet tot vsegda naidet
eng: try use search ;) or fix some devices... like eyes or hands =)

nepsquare 17.08.2005 08:41

Okido, but I like to know if you succeeded...

Did you?

darkagent 17.08.2005 09:21

builder's account rulz..
i can override user-limit freely..

and all my chars on this acc have builder=1 then they creates...

archonus 17.08.2005 12:40

i already try all this before i post guys
i have my account with builder 1
seted on builder_account with : accountname 1 accountid
and i still cant login to server if is full and letbuilder=1
any ideas?

nepsquare 17.08.2005 12:47

Ok tell me, do you have any entries in the table lin2WORLD>>builder_account? (No? check one of my/our previous posts)

If so, does the userid refer to the correct account?
If so, is the builder box checked in L2server?

Did you generate ANY error messages concerning this issue?

archonus 17.08.2005 12:51

yes i have , like i said before i have 6 gms account working fine
letbuilder box is checked in l2server
no errors all working except gms cant login with server full

hr 17.08.2005 13:04

Untested, just idea.... I hope someone release this and then share ;)

So, subj can be done through stored procedures.
1) Make all reserved accounts builders (for example 9 lvl)
2) Modify some stored procedure, that gets information about acc (for example lin2db.ap_GStat) - add something like following (of course this is not code, just pseudo-sql-code aka idea)

Code:

select @builder_lvl=builder from builder_account where account_id=@account_id

if (@builder_lvl = 0) then
begin
  select @playersonline=count(*) from lin2world.user_data where (login>logout) and (login>0) and (logout>0)
  if (@playersonline > @pl_limit) then
  begin
    set @blockflag2 = 1 //AFAIK this prevent from entering
    //or this: set @paystat = 0
  end

end

else
begin
  set @paystat = 1
end

3) set pl_limit in this code to some value you want, set limit in your configs to some value that higher than your normal user limit
4) online count through DB in most cases contains "ghosts", so we should make some ghost-buster actions :) (for example add modification to stored procedure, that clears all unowned items @ start or make separate procedure and put it as job before planned restart)

archonus 17.08.2005 20:57

so by fact nobody has this working ?

nepsquare 17.08.2005 21:38

Well, it seems that it does work for people... Although I created the initial GM account b4 all the others and it has worked so far...

archonus 17.08.2005 23:04

what clean database are u using ? im using the one provided with projectc2beta3

Professor F 18.08.2005 01:47

maybe letbuilder 5? or smth else...

nepsquare 18.08.2005 07:41

Me too, then I wiped it b4 I went to C3...

archonus 18.08.2005 15:21

any more ideas guys ?

nepsquare 18.08.2005 16:07

- make a new account, don't make a character!!!
- edit the db: builder_account
- reboot server
- log in for the first time(!), make char.
- Set limit, set builder
- re-login...


All times are GMT. The time now is 21:43.