![]() |
Heh my bum bot, a class, decides to quit working after a while
Well my remote control bum works for a couple seconds(random short couple seconds), and im not sure why it just stops working. basically help.
NPC Code: |
Quote:
Note: Remember that minimum timeout that can be used client-side is 0.05; |
i didn't know .10 is below .05.
before trying to make me look like an idiot, look at what you typed or you might just be doin that to yourself. oh and go to atrius, yea, look at every script there, just about every single script created by me excluding the gang system and several guns. Im pretty sure this is my skill level. What im not understanding is why does the timeout quit working after a while. Im not asking to fix it, tell me where I said that, im asking why it stops working. |
NPC Code:sleep real; That tends to break a lot of my loops so I use a different method for slowing down instead of using sleep now. I don't know if that is the problem though. Maybe someone can comment on that. |
Quote:
|
I removed the sleep but it still doesn't work right. Its a Class just so you know
|
NPC Code:triggeraction x+.5,y+.5,moveplace,,up; Hm, try doing that. (Remember to switch the others as well.) |
and how would this change anything? Besides making me change all my parameters #'s and adding a comma in each trigger action it did absolutely nothing.
|
No, don't change the parameter numbers in the actions serverside. I've tried something like this before and the script didn't recognize the position where the weapon paremeter is as the parameter with the index 0, just something to try >.>.
|
It really didn't change anything except that It wont move with diff param number than triggeraction param position. What it does how i have it, is it goes for a random amount of seconds works perfect, then it says FU i quit.
|
that whole thing could be serversided.
have a serverside loop of maybe 1 or 2 seconds, and make it getplayer(youraccount) and just make thiso.newdir=playerdir; then outside the with, have a function with like move vecx(thiso.newdir),vecy(thiso.newdir),0.5,1; |
Strange, setting it to move by .5 or 1 or 2, it never froze.
|
hmm.. why do you need/want a 'bum bot'
|
Quote:
|
Yes i know, sorry I forgot to give you credit, but thanks so much! Now I can work on my car.
|
Quote:
Quote:
Quote:
Quote:
|
String Based Item System, Drop System, Inventory System, HP System, Day Night System, in works a movement system, A swear filter that I scrapped, Housing System using database, Item sell class, Safes using database, Stocking item class, Stocking using database, a lottery, a working car thats a class.
A few of the things i did on atrius.... Either help or **** off, thanks. |
Quote:
Ow, lots of systems, congratulations. :) |
Quote:
You've scripted all these things, but yet, you are still unable to find your own problems, that aren't that complex? |
meh, you really ought to learn how to debug
go into the offline editor(if you're afraid of killing the npc server) and try things out before calling it quits |
Another thing also, learn how to optimize your scripts. The above script could use that.
|
hey chad, I go into offline mode a lot, and use the test button and the style button. Screen_name, i doubt you even script ive never seen a post of yours on this forum, then again i havn't looked here in a while.
|
Quote:
don't say crap without looking in previous posts, atleast he knows how to do timeout's correctly |
Quote:
|
Quote:
|
Quote:
Meh, you don't need to chastize any scripter who will come unannounced and say something like screen_name has. I don't pretend to know all the scripters on graal, so don't throw your neck out like that. ;) |
Quote:
|
I need a mod to close this thread, nothing good is coming from it now, just a flame war starting. my question has been answered, close it.
|
Quote:
|
| All times are GMT +2. The time now is 06:08 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.