Search found 28 matches

by Testa
Mon Mar 21, 2016 1:21 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Secret Garden Ideas
Replies: 105
Views: 64248

Re: Secret Garden Ideas

Add the sheep to friends in your profile:

Code: Select all

...
<friends>
	<friend name="Golden Sheep" /> <!-- Ignore Golden Sheep -->
</friends>
...
by Testa
Tue Jun 23, 2015 11:49 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 121967

Re: Automatic 'login' script

login.lua outsputs are like:


name:
memoryRead: nil
itemId: 202881
nameaddress: 3F537348
itemAddress: 35563F00
The game client did not crash.
I:\rom_bot\scripts\rom\/login.lua:75: I:/rom_bot/scripts/rom/classes/memorytable.lua:221: attempt to concatenate a nil value


or


name ...
by Testa
Tue Jun 23, 2015 12:04 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 121967

Re: Automatic 'login' script

The print outs with this version of memorytable.lua are:


name:
memoryRead: nil
itemId: 202928
nameaddress: 3F3D97A3
itemAddress: 26703100
The game client did not crash.
2015-06-22 08:27:54 - I:/rom_bot/scripts/rom/classes/memorytable.lua:221: attempt to concatenate a nil value


or


name ...
by Testa
Sun Jun 21, 2015 5:22 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

i found my fault! now it´s working great! BIG THX!

my fault:
the version was right but i had a file named "withlog_userfunction_LoginNextChar.lua" in the userfuntion folder. (this was a version from you with the diagnostic output of my last problem) :) after i moved it, the right function worked ...
by Testa
Sun Jun 21, 2015 4:34 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

LoginNextChar()


function relog() <!--Put your Character list here see http://www.solarstrike.net/phpBB3/viewtopic.php?f=27&t=1245 for more info-->
SetCharList({
{account=1, chars= {1}},
{account=2, chars= {1}},
{account=3, chars= {1}},
})
LoginNextChar()
yrest(4000)
player:update ...
by Testa
Sun Jun 21, 2015 3:53 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

Ok. Done. I can't be bothered testing it. Someone please test it for me.
userfunction_LoginNextChar.lua
Note: When changing to the first character of the next account where no characters are specified, eg. chars={} , it has no way to know how many characters there are in the next account so it ...
by Testa
Sat Jun 20, 2015 9:06 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: NoobBotter's LogPlayer Userfunction
Replies: 21
Views: 15092

Re: NoobBotter's LogPlayer Userfunction

Version 1.1 works great after a few tests big thx! i´ll test it more the next weeks
by Testa
Sat Jun 20, 2015 3:28 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: NoobBotter's LogPlayer Userfunction
Replies: 21
Views: 15092

Re: NoobBotter's LogPlayer Userfunction

i get some error :(

Code: Select all

2015-06-20 10:25:23 - [string "..."]:14: attempt to call global 'logPlayer' (a nil value)
Testscript:

Code: Select all

<waypoints type="TRAVEL">
<onLoad>
	logPlayer();
	player:sleep()
</onLoad>
</waypoints>
by Testa
Sat Jun 20, 2015 3:12 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Automatic 'login' script
Replies: 181
Views: 121967

Re: Automatic 'login' script


The problem now is when i want to use the Rock5's Ultra Model files the login don´t work. It selects the account but get stuck at the char select. I use the bat file from the topic to change (Start Client for botting).


Don´t know why but it works now :)


New problem :cry: :
Often i get an ...
by Testa
Sat Jun 20, 2015 3:05 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

Big thx! The runtimecalculation works very good!

________________________________________________________


I see what you mean now. It just gets a bit confusing especially when you add the existing printout. When you print both I think it will look confusing. How about modifying the existing ...
by Testa
Mon Jun 08, 2015 9:41 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Music Festival, Nala Melody
Replies: 12
Views: 8298

Re: Music Festival, Nala Melody

latino18fr wrote: Could you please upload the 2 files to check and compare where id the problem?
which 2 files?

pawn.lua -> Attachment
script -> post 1 version 1.02

with this 2 files it works for me
by Testa
Mon Jun 08, 2015 9:34 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

tested it with your code

print(os.date("!%X",os.difftime(os.time(),player.BotStartTime_nr) - player.Sleeping_time))

but the code return wrong values (outputs)

the code returns

!01:00:08

but should return like (i don´t clock the exact time but it is just after the script started)

!00:00:08
by Testa
Sun Jun 07, 2015 1:54 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

now it works! big thx!

but i can´t get it in a format like this
rock5 wrote:02:15:32 for 2 hours, 15 minutes and 32 seconds.
my code i try to format
Testa wrote:printf("\nRuntime: %s.\n", math.floor (os.difftime(os.time(),player.BotStartTime_nr) - player.Sleeping_time ));
by Testa
Sat Jun 06, 2015 7:39 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

nonsense = wrong values, like -2357675,2322 seconds

Are you doing a loadProfile() after changing character?

yes

my relog function is like this:


function relog()

SetCharList({
{account=1, chars= {1}},
{account=2, chars= {1}},
{account=3, chars= {1}},
{account=4, chars= {1}},
{account ...
by Testa
Sat Jun 06, 2015 4:25 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

this sounds great

i tryed it with

printf("\nWe where running for %s seconds.\n", math.floor (os.difftime(os.time(),player.BotStartTime_nr) - player.Sleeping_time ));


but it displays nonsence by using the relog function (if i use it with a single waypoint and one char it works). maybe because i ...
by Testa
Sat Jun 06, 2015 4:15 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: NoobBotter's Kashaylan Research Expert EoJ Script
Replies: 99
Views: 115344

Re: NoobBotter's Kashaylan Research Expert EoJ Script

seems working big thx :) only the event time is a little bussy


Script Runtime: 29.2 minutes. Current Event Time: 21.9 minutes. Event Round Time Remaining: -1.9 minutes.


i did only one little change in the code (question of taste)


printf("Script Runtime: %0.1f minutes. Current Event Time: %0 ...
by Testa
Sat Jun 06, 2015 3:05 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: rock5's "fastLogin Revisited"
Replies: 914
Views: 556379

Re: rock5's "fastLogin Revisited"

this is exactly what i mean :)


Maybe a second idea: would it be possible to print out the runtime of the script?
for example: charlist has 3 accounts... after finished the last acc (char) it would print out the runtime. it tryed to make it by myself but i get it only to print nonsence
Printout ...
by Testa
Fri Jun 05, 2015 1:19 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Music Festival, Nala Melody
Replies: 12
Views: 8298

Re: Music Festival, Nala Melody

now after a first test it works great. big thx
by Testa
Fri Jun 05, 2015 12:34 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Music Festival, Nala Melody
Replies: 12
Views: 8298

Re: Music Festival, Nala Melody

thx for update :D

next error (version 1.01):

Code: Select all

2015-06-05 19:32:33 - [string "..."]:16: attempt to call global 'safe_call' (a nil value)
by Testa
Fri Jun 05, 2015 11:09 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Music Festival, Nala Melody
Replies: 12
Views: 8298

Re: Music Festival, Nala Melody

I did the buff modifications but get an error when i start the wp

Code: Select all

2015-06-05 18:05:36 - [string "..."]:12: attempt to index global 'api' (a nil value)