Author Topic: Levelbank by Polis (DL ADDED)  (Read 3433 times)

Offline Pietroo

  • Level 1 Trained Beginner
  • *
  • Posts: 22
Re: Levelbank by Polis (DL ADDED)
« Reply #30 on: February 07, 2010, 03:24:48 PM »
Here you go.

edit : didnt see berett uploaded too
« Last Edit: February 07, 2010, 03:27:56 PM by Pietroo »

Offline CA.Berettonawak

  • Le renomm mconnu...
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 3143
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Levelbank by Polis (DL ADDED)
« Reply #31 on: February 07, 2010, 04:33:40 PM »
Well with Polis' levelbank, you can both get levels on start and give levels.
Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice :D
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed

Offline CrqXou

  • Level 6 Experienced
  • *****
  • Posts: 130
Re: Levelbank by Polis (DL ADDED)
« Reply #32 on: March 03, 2010, 05:50:46 PM »
Hi ! :)
I Have a Big Probleme with Levelbank! :/
this is a Very very good Addons !!!
But The levelbank Crash my Serv from time to time.. Why?!
I just Translate the Levelbank In french.. :/ What Is the Probleme?!

How to Repair This bug?! Thx :)

Sorry for my English ! I m French ^^,

Offline CA.Berettonawak

  • Le renomm mconnu...
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 3143
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Levelbank by Polis (DL ADDED)
« Reply #33 on: March 03, 2010, 06:34:09 PM »
Once again, why not post in the french area? :P
Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice :D
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed

Offline CrqXou

  • Level 6 Experienced
  • *****
  • Posts: 130
Re: Levelbank by Polis (DL ADDED)
« Reply #34 on: March 03, 2010, 06:58:34 PM »
Just I Report a Bug With the Levelbank :X
And i Need Help For reapair That :P Plz

Thx :)

Offline CA.Berettonawak

  • Le renomm mconnu...
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 3143
  • Big Berettonawak is watching you...
    • Coding-Alliance.Com : A bunch of coders? Why not a bunch of players? :P
Re: Levelbank by Polis (DL ADDED)
« Reply #35 on: March 04, 2010, 12:41:34 PM »
Bon écoute je sais pas à quel jeu tu joues, mais ton anglais est absolument horrible, personne ne te répondra (enfin faudrait qu'ils arrivent à te comprendre), alors soit tu vas poster dans la section française, soit tu essayes de te faire comprendre en anglais, soit bah rien.

PS: Je dis ça car LevelBank ne peut pas crasher un serveur, mais si tu viens dans la section française, on peut essayer de trouver d'où vient le problème.
Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice :D
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed

Offline DevilMarkes

  • Level 0 Beginner
  • Posts: 8
    • Nod69
Re: Levelbank by Polis (DL ADDED)
« Reply #36 on: April 05, 2010, 06:44:03 PM »
I believe this level bank is bugged/glitched.
When a player gets his starting levels(player_activate), he uses them till it reaches zero.
He can rejoin and get the same amount of starting levels(player_activate).

This can be done unlimited times.
Is there a fix for this? Or is disabling player_activate(Setting it to 0) the only way?
-Mark

Offline fearless

  • Level 0 Beginner
  • Posts: 15
Re: Levelbank by Polis (DL ADDED)
« Reply #37 on: April 12, 2010, 09:26:35 PM »
EDIT so I got it loading, but like the person above me said it does give 25 to everyone each time they join. is there any way to fix this?
« Last Edit: April 13, 2010, 12:45:34 AM by fearless »

Offline Muse

  • Level 7 Expert
  • *****
  • Posts: 414
  • Country: ru
  • The lord of drunken bears, 102 lvl.
Re: Levelbank by Polis (DL ADDED)
« Reply #38 on: April 13, 2010, 09:24:41 AM »
Upload your levelbank.
Лет'с толк ин личку ин рашен.
Who`ll dare to face me?
I wanna spend all your money at the gay bar, gay bar, gay bar.
oh.. you touch my talala )

Offline fearless

  • Level 0 Beginner
  • Posts: 15
Re: Levelbank by Polis (DL ADDED)
« Reply #39 on: April 14, 2010, 01:15:28 AM »
Upload your levelbank.

Here we go, also it seems like levelbank was causing my server to crash (it would stay up for around 10-15 minutes, and then crash and I would have to restart it. As soon as I unloaded levelbank it stayed up for the entire night and all day today) is there any info about that? Im currently using the latest EST, eventscripts 2.0 beta, wcs .77, and bank mod.

Thanks for the help.

Offline Muse

  • Level 7 Expert
  • *****
  • Posts: 414
  • Country: ru
  • The lord of drunken bears, 102 lvl.
Re: Levelbank by Polis (DL ADDED)
« Reply #40 on: April 14, 2010, 06:36:21 AM »
Code: [Select]
   popup select spendlevels 8 levelbank/spend100lvl
   es_xset lb_newplayerbonus 5 // config variable   
}

event player_activate
{
  es_xset steam 0
  es_xset levelinit 0
  es_exists steam key levelbank event_var(es_steamid)
  es_exists steam key levelbank server_var(selected_player)
  ifx false(steam) do
  {
  es_keycreate levelbank event_var(es_steamid)
  }
  es_keygetvalue levelinit levelbank event_var(es_steamid) levelbank
  if (server_var(levelinit) = 0) do
  {
    es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(lb_newplayerbonus)
    es_tell event_var(userid) #multi #green server_var(lb_newplayerbonus) levels have been added to your level bank.  Type #lightgreen!spendlevels #greento use them on whichever race you choose.
    es_xkeygroupsave levelbank "|levelbank"
  }
}
es_xset lb_newplayerbonus 5 - put here value of newplayerbonus )
Popup crash your server.
Лет'с толк ин личку ин рашен.
Who`ll dare to face me?
I wanna spend all your money at the gay bar, gay bar, gay bar.
oh.. you touch my talala )

Offline Onslaught

  • Level 7 Expert
  • *****
  • Posts: 468
  • WWW.SNK-KLAN.NET
    • WWW.SNK-KLAN.NET
Re: Levelbank by Polis (DL ADDED)
« Reply #41 on: May 18, 2010, 12:38:47 AM »
How do you fix the glitch of them rejoining and getting starting lvls over and over like previous mentioned?
(click to show/hide)

         

Offline Shidobu

  • WCS Custom Coder
  • Level 7 Expert
  • ****
  • Posts: 882
  • Country: us
    • SDD Coding Community
Re: Levelbank by Polis (DL ADDED)
« Reply #42 on: May 18, 2010, 12:42:57 AM »
How do you fix the glitch of them rejoining and getting starting lvls over and over like previous mentioned?
Try
Code: [Select]
block load
{
es_xload levelbank/levelbankadmin
es_xset usr 0
es_xexists usr keygroup levelbank
ifx false(usr) do
{
es_xkeygroupload levelbank "|levelbank"
}
popup create spendlevels
popup addline spendlevels "Level Bank"
popup addline spendlevels "1. Spend 1 Level"
popup addline spendlevels "2. Spend 2 Levels"
popup addline spendlevels "3. Spend 3 Levels"
popup addline spendlevels "4. Spend 4 Levels"
popup addline spendlevels "5. Spend 5 Levels"
popup addline spendlevels "6. Spend 10 Levels"
popup addline spendlevels "7. Spend 25 Levels"
popup addline spendlevels "8. Spend 100 Levels"
popup addline spendlevels "0. Cancel"
popup select spendlevels 1 levelbank/spend1lvl
popup select spendlevels 2 levelbank/spend2lvl
popup select spendlevels 3 levelbank/spend3lvl
popup select spendlevels 4 levelbank/spend4lvl
popup select spendlevels 5 levelbank/spend5lvl
popup select spendlevels 6 levelbank/spend10lvl
popup select spendlevels 7 levelbank/spend25lvl
popup select spendlevels 8 levelbank/spend100lvl
}

event player_activate
{
es_xset steam 0
es_xset levelinit 0
es_exists steam key levelbank event_var(es_steamid)
es_exists steam key levelbank server_var(selected_player)
ifx false(steam) do
{
es_keycreate levelbank event_var(es_steamid)
}
es_keygetvalue levelinit levelbank event_var(es_steamid) joined
if (server_var(levelinit) = 0) do
{
es_keysetvalue levelbank event_var(es_steamid) joined 1
es_keysetvalue levelbank event_var(es_steamid) levelbank 25
es_tell event_var(userid) #multi #green server_var(levels) levels have been added to your level bank.  Type #lightgreen!spendlevels #greento use them on whichever race you choose.
es_xkeygroupsave levelbank "|levelbank"
}
}


event round_end
{
es_xkeygroupsave levelbank "|levelbank"
}

block unload
{

es_xunload levelbank/levelbankadmin
}

event player_say
{
if (event_var(text) == !levelbank) do
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
es_tell event_var(userid) #multi #greenYou have server_var(levels) levels in your Level Bank.
}
if (event_var(text) == !lb) do
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
es_tell event_var(userid) #multi #greenYou have server_var(levels) levels in your Level Bank.
}
if (event_var(text) == !spendlevels) do
{
es_xset lbcheck 0
es_keygetvalue lbcheck levelbank event_var(es_steamid) levelbank
if (server_var(lbcheck) != 0) do
{
es popup close spendlevels event_var(userid)
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have any levels in your level bank!
}
}

}

block spend1lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 1) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen one level #greenfrom your level bank!
es_xmath levels - 1
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 1
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}

block spend2lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 2) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen two levels #greenfrom your level bank!
es_xmath levels - 2
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 2
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}

block spend3lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 3) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen three levels #greenfrom your level bank!
es_xmath levels - 3
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 3
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}

block spend4lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 4) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen four levels #greenfrom your level bank!
es_xmath levels - 4
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 4
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}

block spend5lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 5) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen five levels #greenfrom your level bank!
es_xmath levels - 5
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 5
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}

block spend10lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 10) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen ten levels #greenfrom your level bank!
es_xmath levels - 10
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 10
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}

block spend25lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 25) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen twenty-five levels #greenfrom your level bank!
es_xmath levels - 25
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 25
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}

block spend100lvl
{
es_xset levels 0
es_keygetvalue levels levelbank event_var(es_steamid) levelbank
if (server_var(levels) >= 100) do
{
es_tell event_var(userid) #multi #greenYou spent#lightgreen one-hundred levels #greenfrom your level bank!
es_xmath levels - 100
es_keysetvalue levelbank event_var(es_steamid) levelbank server_var(levels)
es_xkeygroupsave levelbank "|levelbank"
es wcs_givelevel event_var(userid) 100
es popup send spendlevels event_var(userid)
}
es_xelse do
{
es_tell event_var(userid) #multi #greenYou do not have enough levels in your level bank!
}
}
I'm watching this topic.


Offline Onslaught

  • Level 7 Expert
  • *****
  • Posts: 468
  • WWW.SNK-KLAN.NET
    • WWW.SNK-KLAN.NET
Re: Levelbank by Polis (DL ADDED)
« Reply #43 on: May 18, 2010, 05:44:07 AM »
Tried it shidobu.  Added it, deleted db, reloaded levelbank.

reset everything to 0 for me for xp and rejoined

 0 levels have been added to your level bank. Type !spendlevels to use them on whichever race you choose.

So it's printing it out, but not adding 25 lvls

EDIT: it's weird, it did make one now that i checked and even though i deleted the old file and reloaded, it still shows 100 lvls in people's bank from before.  Wtf?
« Last Edit: May 18, 2010, 08:47:46 PM by Onslaught »
(click to show/hide)

         

Offline Shidobu

  • WCS Custom Coder
  • Level 7 Expert
  • ****
  • Posts: 882
  • Country: us
    • SDD Coding Community
Re: Levelbank by Polis (DL ADDED)
« Reply #44 on: May 18, 2010, 06:39:08 AM »
The reason why is you deleted the db this script doesnt automatically make a database :P.
I'm watching this topic.