PDA

View Full Version : I dont understand the level.db and shrubbot?



SpeedDemon
9-03-2011, 11:45
Hello, I hope this right post for this question.
I dont understand the level.db and shrubbot?

ok I create all 30 adminlevel save to my notepad name shrubbot.cfg. I put my shrubbot.cfg file into my filezilla restart my server. I type /rcon password !setlevel Speedy 30 it said not found it?

and create the level.db file. Put into my filezilla restart my server I type /rcon password !setlevel Speedy 30 it said not found it?


I dont understand anything, I search check on google and bing I found some adminlevel and level.db still not understand it. I give you my some (ex) level.db more understand me.

################################################## #############################
##
## Jaymod 2.1.7 -- level.db
## updated: 03/9/11 5:00am
## levels: 30
##
################################################## #############################

level = 0
name = Community Player
namex = ^1Community ^9Player
greetingtext = Welcome [player], Community Player to -NF Server
greetingaudio =
acl = +C/listplayers +C/resetmyxp +C/admintest

################################################## #############################

level = 1
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

################################################## #############################

and here is some my shrubbot.cfg

[level]
level = 0
name = ^1Community ^7Player
flags = ACXah


[level]
level = 1
name = ^1Community ^4Register ^7Player
flags = ACXahy

and I try add me in level 30 adminlevel. too hard understand it.

Spl@$h~
9-03-2011, 14:12
If you are just running jaymod 2.1.7/8 you dont need shrubbot file , only level.db file is needed.

Once the dbfile is uploaded , go on ur server and type /rcon password !dbload (check console you will see all levels loaded) once its loaded /rcon password !dbsave.
You are now able to set levels to you and your clanmates.

Hope it's gonna help , ifnot feel free to reply :)

SpeedDemon
10-03-2011, 05:23
http://i64.servimg.com/u/f64/15/64/45/33/wet-2010.jpg
It not reading 30 admin level?

relic
10-03-2011, 07:04
level.db says 1 levels so guess u didnt update it correct. just forget the shrubbot and update in level.db

daredevil
10-03-2011, 07:07
Did you uploaded level.db to correct path? Looks like your level.db only contains 1 levels.

Edit: Relic was faster then me :)

Spl@$h~
10-03-2011, 14:55
yeah you need to add more levels check example :


################################################## #############################
##
## Jaymod 2.1.7 -- level.db
## updated: 03/9/11 5:00am
## levels: 30
##
################################################## #############################

level = 0
name = Community Player
namex = ^1Community ^9Player
greetingtext = Welcome [player], Community Player to -NF Server
greetingaudio =
acl = +C/listplayers +C/resetmyxp +C/admintest

################################################## #############################

level = 1
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

level = 2
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

level = 3
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

level = 4
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

level = 5
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

level = 6
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

level = 7
name = Community Register Player
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +C/ftime +C/listplayers +C/resetmyxp +C/admintest

........


level = 30
name = Server owners etc etc
namex = ^1Community ^4Register ^7Player
greetingtext = Welcome [player], Community Register Player to -NF Server
greetingaudio =
acl = +all

################################################## #############################


then upload again and exec level.db i maen !dbload it should work

Le_Furet
11-03-2011, 02:09
Do /rcon [pass] !setlevel speedydemon [level]

Good luck =)

SpeedDemon
12-03-2011, 01:53
I know how do level.db. thank you


other question How do you add map in campaign where you put them?

here my list map

set d1 "set g_gametype 2; map goldrush-ga ; set nextmap vstr d2"
set d2 "set g_gametype 2; map mlb_daybreak ; set nextmap vstr d3"
set d3 "set g_gametype 2; map axislab_final ; set nextmap vstr d4"
set d4 "set g_gametype 2; map reactor_final ; set nextmap vstr d5"
set d5 "set g_gametype 2; map Saberpeak ; set nextmap vstr d6"
set d6 "set g_gametype 2; map Adlernest2 ; set nextmap vstr d7"
set d7 "set g_gametype 2; map tc_base ; set nextmap vstr d8"
set d8 "set g_gametype 2; map Operation_Tower ; set nextmap vstr d9"
set d9 "set g_gametype 2; map Vesuvius_b3 ; set nextmap vstr d10"
set d10 "set g_gametype 2; map Dubrovnik_final ; set nextmap vstr d11"
set d11 "set g_gametype 2; map frostbite ; set nextmap vstr d12"
set d12 "set g_gametype 2; map V1_Rocket_b2 ; set nextmap vstr d13"
set d13 "set g_gametype 2; map mml_minastirith_fp3 ; set nextmap vstr d14"
set d14 "set g_gametype 2; map Lighthouse ; set nextmap vstr d15"
set d15 "set g_gametype 2; map subway ; set nextmap vstr d16"
set d16 "set g_gametype 2; map et_mor2_night_final ; set nextmap vstr d17"
set d17 "set g_gametype 2; map caen2 ; set nextmap vstr d18"
set d18 "set g_gametype 2; map Sottevast_pe ; set nextmap vstr d19"
set d19 "set g_gametype 2; map V2_Factory ; set nextmap vstr d20"
set d20 "set g_gametype 2; map oasis ; set nextmap vstr d21"
set d21 "set g_gametype 2; map mlb_hotchkiss ; set nextmap vstr d22"
set d22 "set g_gametype 2; map transmitter ; set nextmap vstr d23"
set d23 "set g_gametype 2; map tankbuster_151 ; set nextmap vstr d24"
set d24 "set g_gametype 2; map CTF_Face ; set nextmap vstr d25"
set d25 "set g_gametype 2; map Snatch!3 ; set nextmap vstr d26"
set d26 "set g_gametype 2; map Baserace_final ; set nextmap vstr d27"
set d27 "set g_gametype 2; map Golden_Dunk ; set nextmap vstr d28"
set d28 "set g_gametype 2; map Warbell ; set nextmap vstr d29"
set d29 "set g_gametype 2; map MLB_Temple ; set nextmap vstr d30"
set d30 "set g_gametype 2; map mlb_egypt ; set nextmap vstr d31"
set d31 "set g_gametype 2; map The Tower ; set nextmap vstr d32"
set d32 "set g_gametype 2; map eltz_beta1 ; set nextmap vstr d33"
set d33 "set g_gametype 2; map pacman_v2 ; set nextmap vstr d34"
set d34 "set g_gametype 2; map eagles_2ways_b3 ; set nextmap vstr d35"
set d35 "set g_gametype 2; map mml_helmsdeep_b4 ; set nextmap vstr d36"
set d36 "set g_gametype 2; map breakout2_140 ; set nextmap vstr d37"
set d37 "set g_gametype 2; map am_hydro_dam ; set nextmap vstr d38"
set d38 "set g_gametype 2; map mml_helmsdeep_b4 ; set nextmap vstr d39"
set d39 "set g_gametype 2; map etdo_oilkombinat ; set nextmap vstr d40"
set d40 "set g_gametype 2; map etdo_pipelinerefinery ; set nextmap vstr d1"

Dragonji
12-03-2011, 11:57
set d1 "set g_gametype 2; map goldrush-ga ; set nextmap vstr d2"
set d2 "set g_gametype 2; map mlb_daybreak ; set nextmap vstr d3"
set d3 "set g_gametype 2; map axislab_final ; set nextmap vstr d4"
set d4 "set g_gametype 2; map reactor_final ; set nextmap vstr d5"
set d5 "set g_gametype 2; map Saberpeak ; set nextmap vstr d6"
set d6 "set g_gametype 2; map Adlernest2 ; set nextmap vstr d7"
set d7 "set g_gametype 2; map tc_base ; set nextmap vstr d8"
set d8 "set g_gametype 2; map Operation_Tower ; set nextmap vstr d9"
set d9 "set g_gametype 2; map Vesuvius_b3 ; set nextmap vstr d10"
set d10 "set g_gametype 2; map Dubrovnik_final ; set nextmap vstr d11"
set d11 "set g_gametype 2; map frostbite ; set nextmap vstr d12"
set d12 "set g_gametype 2; map V1_Rocket_b2 ; set nextmap vstr d13"
set d13 "set g_gametype 2; map mml_minastirith_fp3 ; set nextmap vstr d14"
set d14 "set g_gametype 2; map Lighthouse ; set nextmap vstr d15"
set d15 "set g_gametype 2; map subway ; set nextmap vstr d16"
set d16 "set g_gametype 2; map et_mor2_night_final ; set nextmap vstr d17"
set d17 "set g_gametype 2; map caen2 ; set nextmap vstr d18"
set d18 "set g_gametype 2; map Sottevast_pe ; set nextmap vstr d19"
set d19 "set g_gametype 2; map V2_Factory ; set nextmap vstr d20"
set d20 "set g_gametype 2; map oasis ; set nextmap vstr d21"
set d21 "set g_gametype 2; map mlb_hotchkiss ; set nextmap vstr d22"
set d22 "set g_gametype 2; map transmitter ; set nextmap vstr d23"
set d23 "set g_gametype 2; map tankbuster_151 ; set nextmap vstr d24"
set d24 "set g_gametype 2; map CTF_Face ; set nextmap vstr d25"
set d25 "set g_gametype 2; map Snatch!3 ; set nextmap vstr d26"
set d26 "set g_gametype 2; map Baserace_final ; set nextmap vstr d27"
set d27 "set g_gametype 2; map Golden_Dunk ; set nextmap vstr d28"
set d28 "set g_gametype 2; map Warbell ; set nextmap vstr d29"
set d29 "set g_gametype 2; map MLB_Temple ; set nextmap vstr d30"
set d30 "set g_gametype 2; map mlb_egypt ; set nextmap vstr d31"
set d31 "set g_gametype 2; map The Tower ; set nextmap vstr d32"
set d32 "set g_gametype 2; map eltz_beta1 ; set nextmap vstr d33"
set d33 "set g_gametype 2; map pacman_v2 ; set nextmap vstr d34"
set d34 "set g_gametype 2; map eagles_2ways_b3 ; set nextmap vstr d35"
set d35 "set g_gametype 2; map mml_helmsdeep_b4 ; set nextmap vstr d36"
set d36 "set g_gametype 2; map breakout2_140 ; set nextmap vstr d37"
set d37 "set g_gametype 2; map am_hydro_dam ; set nextmap vstr d38"
set d38 "set g_gametype 2; map mml_helmsdeep_b4 ; set nextmap vstr d39"
set d39 "set g_gametype 2; map etdo_oilkombinat ; set nextmap vstr d40"
set d40 "set g_gametype 2; map etdo_pipelinerefinery ; set nextmap vstr d1" <- replace d1 with d41
set d41 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d42"
set d42 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d43"
set d43 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d44"
set d44 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d45" <- (if you want to end mapcycle you have to end the loop, in the last one map you have to write set nextmap vstr d1).

...and so on.

Spl@$h~
12-03-2011, 21:13
As said daredevil earlier not sure its a good idea to set all maps (40) , at least i remember when i used to put over 12 maps ,server crashed ( 2.55 . )

relic
12-03-2011, 22:18
nothing like a 400mb download of pk3's lol

SpeedDemon
13-03-2011, 08:58
set d41 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d42"
set d42 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d43"
set d43 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d44"
set d44 "set g_gametype 2; map <mapname_here> ; set nextmap vstr d45" <- (if you want to end mapcycle you have to end the loop, in the last one map you have to write set nextmap vstr d1).

...and so on.

Ok So where you put this map at in jaymod.cfg file or ETmain file?

Spl@$h~
13-03-2011, 16:28
So hmm you need to put the maps into a file named "objectivecycle.cfg" for example ( the name isnt important) then you upload it in jaymod folder .

Make sure you have in your server.cfg :


set g_gametype "2"
set g_campaignFile "objectivecycle.cfg"
or
exec objectivecycle.cfg

Here is an example of objectivecycle.cfg :


set d1 "set g_gametype 2 ; map goldrush ; set nextmap vstr d2"
set d2 "set g_gametype 2 ; map oasis ; set nextmap vstr d3"
set d3 "set g_gametype 2 ; map venice ; set nextmap vstr d4"
set d4 "set g_gametype 2 ; map mlb_temple ; set nextmap vstr d5"
set d5 "set g_gametype 2 ; map fueldump ; set nextmap vstr d6"
set d6 "set g_gametype 2 ; map caen2 ; set nextmap vstr d7"
set d7 "set g_gametype 2 ; map battery ; set nextmap vstr d8"
set d8 "set g_gametype 2 ; map et_mor2_night ; set nextmap vstr d1"
vstr d1

Hope its gonna help you , if i'm wrong please correct me :)

Spl@$h~
18-05-2011, 02:17
Problem seems to be fixed .
If you have a similar problem and you can not fix by yourself , ask for some help ( create a new topic), thx
/Closed