Thread Rating:
  • 6 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code is crashing the bot
#1
Hello,

I'm working on creating a module that will help with the fishing achievements, but I'm stuck against a problem where the bot just crashes when I try calling my "getAvailableFish()" function from the console.

I have a local copy too that works and runs outside the bot, but when I load the bot it just crashes. I'm using the socket module so I can hit a webservice, and I'm thinking that might be where the root problem is..

I'm hoping someone could give me a little insight, I'm pretty new to lua in general and the code isn't the cleanest but I've attached what I have so far.

Any help would be greatly appreciated.

Thanks!


Attached Files
.zip   bigfish.zip (Size: 136.9 KB / Downloads: 6)
Reply
#2
I don't know how to use the debug log, but I was able to figure out the problem line.

local url = "http://en.ff14angler.com/skywatcher.php?name=1"
local content = ""; --http.request(url)

It crashes on http.request(url)
Reply
#3
I decided to just popen an exe to get around the socket issue for now. Ideally I wouldn't have to do that, but I can't figure out how to get socket in without crashing the client.
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products