See if that helps. I'm surprised it didn't cause a "loadpaths is nil" error as "loadpaths" is an invalid function name.
changed it and still the same
In that case maybe one of the files you are trying to load doesn't exist. loadPaths does nothing if the file doesn't exist. That explains why you would get that error about no waypoints; it gets to the end of the waypoint file without loading the next one so it errors because it has nothing left to do.
Is either waypoint file "survivalr5" or "nextfile" missing from your waypoints folder?
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
In that case maybe one of the files you are trying to load doesn't exist. loadPaths does nothing if the file doesn't exist. That explains why you would get that error about no waypoints; it gets to the end of the waypoint file without loading the next one so it errors because it has nothing left to do.
Is either waypoint file "survivalr5" or "nextfile" missing from your waypoints folder?
thats how looks my waypoint folder i dont have something like nextfile.xml but i have survivalR5.xml so it should work
I don't have any RoM files on this PC so I can't test it but it looks to me like the actual file that code is in is missing important things. I am going to assume the posted code is ALL that is in the file.
Have a look at other WP posted that don't actually have any waypoints in them as an example of how to do it. I am sure there is quite a few posted already.
Remember no matter you do in life to always have a little fun while you are at it
I just tested it. Lisa is right. If that's all you have in the file then you will get that message, because it doesn't load properly so it doesn't run the onload.
Specifically look at how other waypoint files start and end. Copy them and it should work.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
so you mean its not working because there is no waypoint to go. So mby it will work when we add option to check the status of the minigames e.g if we have done both it will use ticket , if not script will stop or smth
No, it doesn't need waypoints. There are a lot of waypoint files with out waypoints, eg. AT, survivalnext, etc. See how they start and end. Or just see how any waypoint file starts and ends. Let us know if you still can't figure it out.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
I think your files are corrupt I only knew a function called yrest and not yest take a look at that if it was your doing I would suggest rename the function in your file to yrest.
But also, it's not quite right. There is a difference between "waypoint" and "waypoints".
idk what is the difference but now it work good only when i have not ebough phirus coins the script is starting to looping i mean
start-crash-start-crash-start-crash and all the time like that but its only when i have no PC so it not a big problem.
"waypoint" tags are used for each point in a waypoint files. As you know, some waypoint files don't have any points, so no "waypoint" tags.
"waypoints" tag is used to enclose all the points. When onload support was added, that also had to go within the "waypoints" tags. So basically "waypoints" tags are used to start and end every waypoint file.
So every waypoint file should start and end something like this