Music Festival, Nala Melody

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Music Festival, Nala Melody

#1 Post by dx876234 » Fri Jun 05, 2015 8:23 am

Attached it my script for Music Festival event at NPC Nala Melody.

Note that you need the buff modifications at http://solarstrike.net/phpBB3/viewtopic ... 170#p61170 for this to work.
You must replace the two functions CPawn:updateBuffs and CPawn:getBuff in the rom/classes/Pawn.lua file with the ones given in the post.

Best regards
DX

Changes:
  • v1.03 - Fixed forgotten t_usetprune (Thx Celesteria)
    v1.02 - Added forgotten function safe_call
    v1.01 - Added API functions
    v1.00 - Base release
Attachments
NalaMelody.xml
Version 1.03
(5.87 KiB) Downloaded 232 times
Last edited by dx876234 on Mon Jun 08, 2015 11:57 pm, edited 5 times in total.

Testa
Posts: 28
Joined: Wed Apr 29, 2015 1:59 am

Re: Music Festival, Nala Melody

#2 Post by Testa » Fri Jun 05, 2015 11:09 am

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)
Sorry about the bad english

dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Re: Music Festival, Nala Melody

#3 Post by dx876234 » Fri Jun 05, 2015 12:14 pm

Damn, sorry!

I forgot I have most client functions interfaced in my own userfunction, Ill update and repost

-dx

Testa
Posts: 28
Joined: Wed Apr 29, 2015 1:59 am

Re: Music Festival, Nala Melody

#4 Post by Testa » Fri Jun 05, 2015 12:34 pm

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)
Sorry about the bad english

dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Re: Music Festival, Nala Melody

#5 Post by dx876234 » Fri Jun 05, 2015 12:55 pm

Well, now I think all dependecies are removed....

-dx

Testa
Posts: 28
Joined: Wed Apr 29, 2015 1:59 am

Re: Music Festival, Nala Melody

#6 Post by Testa » Fri Jun 05, 2015 1:19 pm

now after a first test it works great. big thx
Sorry about the bad english

latino18fr
Posts: 25
Joined: Wed Jan 15, 2014 9:41 am

Re: Music Festival, Nala Melody

#7 Post by latino18fr » Sun Jun 07, 2015 11:39 am

i change pawn.lua and try you waypoin it doesn't work for me.
just go to the machine then nothing.

Could you please upload the 2 files to check and compare where is the problem?

thks
Last edited by latino18fr on Tue Jun 09, 2015 1:02 pm, edited 1 time in total.

Celesteria
Posts: 36
Joined: Mon Jun 01, 2015 7:44 am

Re: Music Festival, Nala Melody

#8 Post by Celesteria » Sun Jun 07, 2015 11:48 am

hi, nice script.

please update:

Code: Select all

-- line 175 from --
ChoiceOptionByName('I happen to have')
-- line 175 to --
ChoiceOptionByName(t_usetprune)
so it also works with non-english clients correctly :)


greetings
Celesteria
I am a botter, but no cheater. So none of my scripts ever use any of the hacks like swimhack, speedhack, wallhack...
I hope you can understand my english. Its not my native language and it has been a long time since I used it the last time :)

Testa
Posts: 28
Joined: Wed Apr 29, 2015 1:59 am

Re: Music Festival, Nala Melody

#9 Post by Testa » Mon Jun 08, 2015 9:41 am

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
Attachments
pawn.lua
modified pawn.lua
(29.43 KiB) Downloaded 187 times
Sorry about the bad english

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Music Festival, Nala Melody

#10 Post by beanybabe » Thu Jun 11, 2015 6:55 pm

i tried the 1.03 It does not seem to do much but stand there I never see it cast or target anything. it ends with no happy toy.

dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Re: Music Festival, Nala Melody

#11 Post by dx876234 » Fri Jun 12, 2015 12:46 am

Have you updated the pawn.lua file?

-dx

Illiteratecodewriter
Posts: 1
Joined: Wed Jul 01, 2015 12:03 am

Re: Music Festival, Nala Melody

#12 Post by Illiteratecodewriter » Wed Jul 01, 2015 12:25 am

ok took me awhile but got it working ty this helps a lot but how would I get it to repeat itself for the transport rune?

X>Z

dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Re: Music Festival, Nala Melody

#13 Post by dx876234 » Tue Jul 07, 2015 7:54 am

In the top of the file u specify the number of tp runes you want to use

-dx

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests