Add


Pages: [1]
  Print  
Author Topic: Lags  (Read 5469 times)
zielak
Zombie
*

Reputation: 0
Offline Offline

Posts: 3


View Profile Email
« on: July 08, 2013, 09:26:29 AM »

Hi.
I need help. It's about ZRPG.
I have last of version what Hacktank upload (http://forums.soldat.pl/index.php?action=dlattach;topic=32098.0;attach=22538). Everything is ok, but when i hitting npc, then Soldat lagging  ;/

True is, I can use 1.8 ver, but I dont like souls (I think mana is enought :J  )

Sorry for my english. And I'm really sorry for problem.

//Btw. Hacktank- I sent pm on forums.soldat.pl, but I saw when was your last visit. So... there I'm
Logged

Hacktank
Site/Server Owner
Administrator
Vortex
*

Reputation: 20
Offline Offline

Posts: 117


Demoncoder

jakethedungeonmaster@gmail.com
View Profile WWW Email
« Reply #1 on: July 08, 2013, 04:04:55 PM »

Well, if you use the new version you can set the soul costs for all of the skills to 0, like so:

skills.txt:
Code:
//--------\\
|| SKILLS ||
\\--------//

heal[1]cost=1
heal[1]scost=0
heal[1]specfloat1=0.065
heal[1]minlvl=1
heal[1]cooldown=5
heal[2]cost=2
heal[2]scost=0
heal[2]specfloat1=0.06
heal[2]minlvl=2
heal[2]cooldown=5
heal[3]cost=2
heal[3]scost=0
heal[3]specfloat1=0.05
heal[3]minlvl=3
heal[3]cooldown=4

reload[1]cost=15
reload[1]specfloat1=0.05
reload[1]specfloat2=0.014
reload[1]minlvl=8
reload[1]cooldown=12
reload[2]cost=25
reload[2]specfloat1=0.03
reload[2]specfloat2=0.01
reload[2]minlvl=15
reload[2]cooldown=8
reload[3]cost=35
reload[3]specfloat1=0.01
reload[3]specfloat2=0.006
reload[3]minlvl=20
reload[3]cooldown=6

nade[1]cost=1
nade[1]scost=0
nade[1]mcost=4
nade[1]minlvl=2
nade[1]cooldown=2
nade[2]cost=2
nade[2]scost=0
nade[2]mcost=3
nade[2]minlvl=3
nade[2]cooldown=2
nade[3]cost=3
nade[3]scost=0
nade[3]mcost=2
nade[3]minlvl=4
nade[3]cooldown=2

wave[1]cost=5
wave[1]scost=0
wave[1]mcost=15
wave[1]minlvl=5
wave[1]cooldown=6
wave[2]cost=10
wave[2]scost=0
wave[2]mcost=12
wave[2]minlvl=7
wave[2]cooldown=5
wave[3]cost=25
wave[3]scost=0
wave[3]mcost=8
wave[3]minlvl=11
wave[3]cooldown=5

turret[1]cost=10
turret[1]scost=0
turret[1]mcost=10
turret[1]minlvl=8
turret[1]specint1=30
turret[1]cooldown=1
turret[2]cost=15
turret[2]scost=0
turret[2]mcost=8
turret[2]minlvl=10
turret[2]specint1=60
turret[2]cooldown=1
turret[3]cost=15
turret[3]scost=0
turret[3]mcost=5
turret[3]minlvl=15
turret[3]specint1=90
turret[3]cooldown=1

shield[1]cost=5
shield[1]scost=0
shield[1]mcost=5
shield[1]minlvl=4
shield[1]cooldown=5
shield[2]cost=10
shield[2]scost=0
shield[2]mcost=3
shield[2]minlvl=7
shield[2]cooldown=5
shield[3]cost=15
shield[3]scost=0
shield[3]mcost=2
shield[3]minlvl=8
shield[3]cooldown=5

crit[1]cost=3
crit[1]specfloat1=0.04
crit[1]minlvl=2
crit[2]cost=7
crit[2]specfloat1=0.06
crit[2]minlvl=3
crit[3]cost=8
crit[3]specfloat1=0.09
crit[3]minlvl=5
crit[4]cost=9
crit[4]specfloat1=0.12
crit[4]minlvl=6
crit[5]cost=12
crit[5]specfloat1=0.18
crit[5]minlvl=10
crit[6]cost=25
crit[6]specfloat1=0.24
crit[6]minlvl=20

fatalhit[1]cost=20
fatalhit[1]specfloat1=0.01
fatalhit[1]mcost=5
fatalhit[1]minlvl=10
fatalhit[2]cost=4
fatalhit[2]specfloat1=0.03
fatalhit[2]mcost=4
fatalhit[2]minlvl=17

vanish[1]cost=5
vanish[1]scost=0
vanish[1]mcost=18
vanish[1]minlvl=6
vanish[1]cooldown=30
vanish[2]cost=15
vanish[2]scost=0
vanish[2]mcost=16
vanish[2]minlvl=10
vanish[2]cooldown=25
vanish[3]cost=15
vanish[3]scost=0
vanish[3]mcost=15
vanish[3]minlvl=11
vanish[3]cooldown=20

flamer[1]cost=8
flamer[1]scost=0
flamer[1]mcost=8
flamer[1]minlvl=4
flamer[1]specint1=20
flamer[2]cost=10
flamer[2]scost=0
flamer[2]mcost=5
flamer[2]minlvl=7
flamer[2]specint1=40
flamer[3]cost=15
flamer[3]scost=0
flamer[3]mcost=2
flamer[3]minlvl=10
flamer[3]specint1=60

vamp[1]cost=5
vamp[1]specfloat1=0.04
vamp[1]minlvl=5
vamp[2]cost=8
vamp[2]specfloat1=0.08
vamp[2]minlvl=7
vamp[3]cost=13
vamp[3]specfloat1=0.12
vamp[3]minlvl=10

lootammo[1]cost=2
lootammo[1]specfloat1=0.08
lootammo[1]minlvl=2
lootammo[2]cost=3
lootammo[2]specfloat1=0.12
lootammo[2]minlvl=3
lootammo[3]cost=4
lootammo[3]specfloat1=0.17
lootammo[3]minlvl=5

lootitems[1]cost=2
lootitems[1]specfloat1=0.1
lootitems[1]minlvl=3
lootitems[2]cost=3
lootitems[2]specfloat1=0.17
lootitems[2]minlvl=5
lootitems[3]cost=4
lootitems[3]specfloat1=0.24
lootitems[3]minlvl=7

rage[1]cost=5
rage[1]scost=0
rage[1]mcost=15
rage[1]minlvl=5
rage[1]specfloat1=2
rage[1]specfloat2=1.3
rage[2]cost=8
rage[2]scost=0
rage[2]mcost=13
rage[2]minlvl=7
rage[2]specfloat1=2.5
rage[2]specfloat2=0.95
rage[3]cost=10
rage[3]scost=0
rage[3]mcost=9
rage[3]minlvl=10
rage[3]specfloat1=3
rage[3]specfloat2=0.75

bulletvortex[1]cost=5
bulletvortex[1]scost=0
bulletvortex[1]mcost=25
bulletvortex[1]minlvl=8
bulletvortex[1]cooldown=15
bulletvortex[2]cost=15
bulletvortex[2]scost=0
bulletvortex[2]mcost=23
bulletvortex[2]minlvl=10
bulletvortex[2]cooldown=12
bulletvortex[3]cost=10
bulletvortex[3]scost=0
bulletvortex[3]mcost=20
bulletvortex[3]minlvl=17
bulletvortex[3]cooldown=10

cluster[1]cost=3
cluster[1]scost=0
cluster[1]mcost=6
cluster[1]minlvl=3
cluster[1]cooldown=2
cluster[2]cost=5
cluster[2]scost=0
cluster[2]mcost=5
cluster[2]minlvl=5
cluster[2]cooldown=2
cluster[3]cost=7
cluster[3]scost=0
cluster[3]mcost=4
cluster[3]minlvl=6
cluster[3]cooldown=2

barret[1]cost=10
barret[1]scost=0
barret[1]mcost=25
barret[1]minlvl=7
barret[2]cost=25
barret[2]mcost=15
barret[2]scost=0
barret[2]minlvl=20

ruger[1]cost=7
ruger[1]scost=0
ruger[1]mcost=19
ruger[1]minlvl=4
ruger[2]cost=10
ruger[2]scost=0
ruger[2]mcost=13
ruger[2]minlvl=15

kazi[1]cost=5
kazi[1]mcost=5
kazi[1]minlvl=7
kazi[2]cost=10
kazi[2]mcost=5
kazi[2]minlvl=18
kazi[3]cost=25
kazi[3]mcost=5
kazi[3]minlvl=11
kazi[4]cost=10
kazi[4]mcost=5
kazi[4]minlvl=27

mine[1]cost=10
mine[1]scost=0
mine[1]mcost=20
mine[1]specint1=10
mine[1]specint2=2
mine[1]minlvl=10
mine[2]cost=18
mine[2]scost=0
mine[2]mcost=10
mine[2]specint1=20
mine[2]specint2=3
mine[2]minlvl=18

push[1]cost=5
push[1]mcost=3
push[1]minlvl=2
push[2]cost=10
push[2]mcost=2
push[2]minlvl=5
push[3]cost=25
push[3]mcost=1
push[3]minlvl=11

warp[1]cost=18
warp[1]scost=0
warp[1]mcost=28
warp[1]minlvl=18
warp[1]specint1=400
warp[1]cooldown=30
warp[2]cost=22
warp[2]scost=0
warp[2]mcost=25
warp[2]minlvl=20
warp[2]specint1=450
warp[2]cooldown=25
warp[3]cost=24
warp[3]scost=0
warp[3]mcost=20
warp[3]minlvl=25
warp[3]specint1=550
warp[3]cooldown=20

psg[1]cost=18
psg[1]scost=0
psg[1]mcost=35
psg[1]minlvl=10
psg[1]specint1=30
psg[1]specint2=500
psg[2]cost=22
psg[2]scost=0
psg[2]mcost=30
psg[2]minlvl=15
psg[2]specint1=60
psg[2]specint2=1000
psg[3]cost=24
psg[3]scost=0
psg[3]mcost=25
psg[3]minlvl=20
psg[3]specint1=60
psg[3]specint2=1500

sonicburst[1]cost=15
sonicburst[1]scost=0
sonicburst[1]mcost=30
sonicburst[1]minlvl=25
sonicburst[1]specint1=30
sonicburst[1]cooldown=15
sonicburst[2]cost=20
sonicburst[2]scost=0
sonicburst[2]mcost=20
sonicburst[2]minlvl=35
sonicburst[2]specint1=50
sonicburst[2]cooldown=10

soulshield[1]cost=25
soulshield[1]mcost=15
soulshield[1]minlvl=6
soulshield[1]specfloat1=0.025
soulshield[2]cost=40
soulshield[2]mcost=30
soulshield[2]minlvl=25
soulshield[2]specfloat1=0.02
soulshield[3]cost=50
soulshield[3]mcost=30
soulshield[3]minlvl=40
soulshield[3]specfloat1=0.016
soulshield[4]cost=150
soulshield[4]mcost=30
soulshield[4]minlvl=65
soulshield[4]specfloat1=0.012

backlash[1]cost=20
backlash[1]mcost=10
backlash[1]scost=0
backlash[1]minlvl=20
backlash[1]specfloat1=0.03
backlash[2]cost=35
backlash[2]mcost=8
backlash[2]scost=0
backlash[2]minlvl=30
backlash[2]specfloat1=0.04
backlash[3]cost=65
backlash[3]mcost=15
backlash[3]scost=0
backlash[3]minlvl=65
backlash[3]specfloat1=0.1
backlash[4]cost=180
backlash[4]mcost=20
backlash[4]scost=0
backlash[4]minlvl=110
backlash[4]specfloat1=0.4

missile[1]cost=450
missile[1]mcost=80
missile[1]scost=0
missile[1]minlvl=100
missile[1]specint1=15
missile[1]specint2=30
missile[1]specfloat1=2.5
missile[1]specfloat2=0.8
missile[1]cooldown=20

vulture[1]cost=15
vulture[1]minlvl=5
vulture[1]specint1=10
vulture[2]cost=30
vulture[2]minlvl=20
vulture[2]specint1=20
vulture[3]cost=60
vulture[3]minlvl=55
vulture[3]specint1=30

fogshield[1]cost=30
fogshield[1]mcost=60
fogshield[1]scost=0
fogshield[1]minlvl=20
fogshield[1]specfloat1=0.25
fogshield[1]specfloat2=0.08
fogshield[2]cost=55
fogshield[2]mcost=55
fogshield[2]scost=0
fogshield[2]minlvl=35
fogshield[2]specfloat1=0.4
fogshield[2]specfloat2=0.06
fogshield[3]cost=350
fogshield[3]mcost=60
fogshield[3]scost=0
fogshield[3]minlvl=75
fogshield[3]specfloat1=0.8
fogshield[3]specfloat2=0.03

Although, if you do this the skills that rely on souls, like soul shield, will be super op, so you should either make them have a min lvl of like 99999 or make them take a lot of mana instead.
Logged


zielak
Zombie
*

Reputation: 0
Offline Offline

Posts: 3


View Profile Email
« Reply #2 on: July 09, 2013, 03:35:04 AM »

great idea! Thanks a lot
btw. what wersion is older? 1.9.1 or "Evolved"? Huh
btw2. What I must modify in zrpg.pas to change counter of mana/souls? I mean, now is eg. 0.000000000/10.0000000000, but I want display just 0/10

Sorry for more asks :|
« Last Edit: July 09, 2013, 04:47:00 AM by zielak » Logged

Hacktank
Site/Server Owner
Administrator
Vortex
*

Reputation: 20
Offline Offline

Posts: 117


Demoncoder

jakethedungeonmaster@gmail.com
View Profile WWW Email
« Reply #3 on: July 09, 2013, 06:13:27 PM »

Evolved is the newer one. A long time ago I got sick of working with the old script so I rewrote it from scratch and named it "evolved". And when I did that the version number was restarted at 1.0.0.

Indeed, when they updated the game they messed up the way floating point values are rounded, I just modified all of the outputs in the script to make sure they are showing the least amount of extra text, it doesn't even have the useless 0 when its a whole number (15. instead of 15.0).

New ZRPG.pas is attached.
Logged


zielak
Zombie
*

Reputation: 0
Offline Offline

Posts: 3


View Profile Email
« Reply #4 on: July 10, 2013, 12:13:31 AM »

All right! I have almost everyhing what i want. Thanks very much.

Are You still working on new ZRPG? I asking You because your servers was the best. Normal players, normal zombies, updates etc.

edit:
Topic can be closet- problem(s) is solved

edit2:
ahh... in version from your last post is little fault. Admin can type /setweapon ID 12 (bow, or 13 flame bow) but it is broke bow. When I kill npc he resurrection after less than second. When we die, we can see on the right who kill you and beside is number with K/D rate. So, when resurrected zombie kill as, his rate is -254 (minus!!!). Maybe I'm mistake with this theory but when I search "254" in ZRPG.pas  found function "PlaceBot"- I think, that can be some track.
« Last Edit: July 10, 2013, 08:49:04 AM by zielak » Logged

Pages: [1]
  Print  
 
Jump to:  


SimplePortal 2.3.3 © 2008-2010, SimplePortal