English i appriciate every hand<3

5 replies
Goto Page
To the start Previous 1 Next To the start
15.06.17 10:00:54 pm
Up
apex2d
User
Offline Off
69930145708

i need to finish unnecessary problems that are necessary

When i die or someone dies,
The Level and Rank Text in the Screen won't Update. It Updates every Roundstart but i dont find any startround Hook

and also i set the script,
when the XP reaches 0, it will derank or bring you back to the previous rank, well it doesnt seem to be an error but when we die it stays -2 until next round starts and it changes into 25 but in a lower rank
here take alook

sorry that i still cant speak engrish

Also thank you for user TheD that helped me alot today, so im giving him a break

how to make the stat updates whenever we die? because i used die hook and it doesnt work well

More >
edited 1×, last 16.06.17 11:39:10 pm
Eat Sleep Conquer Repeat.

Admin/mod comment:

Don't listen to user Waldin, a more tag fits for your case for obvious reasons. Fixed. /user ZxC
16.06.17 11:57:36 am
Up
Gaiyos
Security Supporter
Offline Off
Who will read it. Lol'd
IMG:http://i.imgur.com/YFN2ICK.png
IMG:http://i.imgur.com/TCHCwEk.png
IMG:http://i.imgur.com/NKscL7A.png
16.06.17 12:08:48 pm
Up
Mora_rus
User
Offline Off
I had to read that. But fucking arrays. I wont work with them.
16.06.17 12:18:23 pm
Up
TimeQuesT
User
Offline Off
According to the script it updates the hud every 100ms, but only for living players.

Change _rms100 to this.
Code:
1
2
3
4
5
6
7
8
9
10
11
_rms100 = function()
    for _,id in ipairs(player(0, "table")) do
     --Only living
     if (player(id, "health") > 0) then
          _loseexp(id)
          _checkexp(id)
     end
     --All player
     _statshud(id);
    end
end
Die Pene mal wieder durch die Hose riechend - Das Parfum des Edelmannes.
16.06.17 01:03:32 pm
Up
Ortimh
User
Offline Off
I gave it a glimpse and here're some "problems" I encountered:

Double functions for basically the same purpose:
array
and
initarray
.

You could write
string.char(169)
as only
\169
inside string (e.g.
"\169255255255Yo!
).

Don't concatenate empty strings, it's useless (e.g.
string.char(169)..""..clr..""..txt
to
"\169" .. clr .. txt
)

In your
SaveUser
function, don't use
io.output
. It has no purpose. Also define
file
as local var.

In your
LoadUser
function, although it might be unnoticed, in
io.open(filename:format(UsgnID,"r"))
, the "r" is useless.

For the rest of the code... I'm sorry. I don't want to invest too much time in it.
I'm awesome ... and I really cookies
16.06.17 07:41:52 pm
Up
Waldin
User
Offline Off
Add a spoiler tag and i'll read it.
Edit: I wont read it.
edited 2×, last 18.06.17 01:52:36 am
user Waldin (2014) has written:
can be create 3D option for tiles on 3D
user DC (2014) has written:
@user Waldin: This is a 2D game. there are no 3D tiles.
changelog (2017) has written:
ADDED Experimental 3D rendering mode

Admin/mod comment:

Looks like somebody doesn't know the difference between a spoiler and more tag, eh? /user ZxC
To the start Previous 1 Next To the start