Skip to content

[Request] Battle Pirates.

-migrated-

This discussion is linked to Battle Pirates. View game

1,693 posts

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 7:03 am

In all fairness I do know people have a tendency to look at the same people over and over again- I am in my 40s now and got my first computer about 5 years ago and still learning how to do the most simplest of tasks- ask me to weld something and Im your man- Slowmo your the man on this- hope me(us) asking for stuff didn't get on your nerves and I apologize for neither having the skill nor the eyes anymore to read code like you do- its not that some of us act dumb- its that some of us are "dumb" with these codes and such. Anyway if no one wants to help thats fine and I thank you still for all that you have done- Hell I would pay for those swf codes for fiddler if fiddler would work- but this is the place I have found that I respect and trust so I came here to ask- no offense meant- thanx

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 9:26 am

slowmo you is the man

you have saved my ass from being farmed out of the game

look for mrsdrunkpenguin in the game last time she was in sec 25

she got your hack and turned it in to kixkeye cause she got scared

I hope you is doing well and keep up the good work

cheers

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 11:26 am

I don't know if this will help anyone. But here is the old list of AOB's. Go through them and see what still works and what doesn't.

hackcheck
20 80 ?? D5 20 80 ?? D6 60 ?? ?? 11 07 00 00
47 02 02 02 02 02 02 02 02 02 02 11 07 00 00

instup
62 06 a0 4f ?? 01 10 ?? 00 00
02 02 02 4f ?? 01 10 ?? 00 00

repair
68 ?? ?? d0 d0 66 ?? ?? d2 66 ?? ?? a0 68 ?? ?? d0 d2
68 ?? ?? d0 d0 66 ?? ?? 02 02 02 02 02 68 ?? ?? d0 d2

instresearch
62 04 66 ?? ?? A0 4F ?? 01
02 02 02 02 02 02 4F ?? 01

shipbuild + refit
D0 D0 66 ?? ?? 62 06 A0
D0 D0 66 ?? ?? 02 02 02

instturret
d0 d1 46 ?? ?? 01 a0
02 02 02 02 02 02 02

instbuild
5D ?? D0 66 ?? 24 01 46 ?? ?? 01 46 01 01 A0
02 02 02 02 02 02 02 02 02 02 02 02 02 02 02

instrocket
5d ?? ?? d1 46 ?? ?? 01 a0 4f ?? 01 d0
02 02 02 02 02 02 02 02 02 4f ?? 01 d0

insfortify
62 06 a0 4f ?? 01 d0 26
02 02 02 4f ?? 01 d0 26

free repair
60 ?? 24 ?? d3 66 ?? ?? 4f ?? ?? 02
02 02 02 02 02 02 02 02 02 02 02 02

RES1
66 89 77 d2 90
66 89 77 d2 02

RES2
66 89 77 d2 a1
66 89 77 d2 a0

xp freeze
d0 30 10 52 00 00 09 60 ?? ??
d0 47 10 52 00 00 09 60 ?? ??

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 10:28 pm

With the help of slowmo, i figured it out.
Use like gyan's LUA, freeze the game during load with the speed hack (set to 0), then replace the AoB

Everything is instant (but ship repair) for v77.v7754
d0 66 ce 4a 46 25 00 d1 11 08 00 00 48
02 02 02 02 02 02 02 02 02 02 24 00 48

Resources In the store are free v77.v7754
27 26 2b 10 06 00 00 aa a0 2a 20 c0 b0 d5 d6
02 02 02 d0 46 fb 64 00 60 19 4f b5 02 00 47

Instant Ship Repair v77.v7754
d0 d0 66 fa 12 d2 66 99 11 a0 68 fe 0e
d0 66 fa 12 d2 66 fa 12 d2 a1 68 fe 0e

There is a bit of a lag when using instant ship repair, but it works!

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 10:35 pm

Hi
Most of the codes do work for the CE but ship build does not if someone has a solution please do post.

Thanks

This post was imported from an account that no longer exists!
Previous Name: KILLER1807

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 10:57 pm

Slowmo, I have a tough time interpreting GYAN's instructions in his .lua
I'm trying to apply the whole weapons / armor weigh 1, and ships always valid to a .swf but I can't really get what his instructions tell me to do.

" (2) managers > component > Component Manager > applyWeaponProps() and applyAdvancedProps() change param1.weight = int(StringUtils.removeCommas(param2.weight));"

"managers > component > Component Manager > loadArmorProps() change _loc_4.weight = int(StringUtils.removeCommas(StringUtils.removeCommas(_loc_3.weight)));"

"datastores > IOShipDesign > valid() force return true" <-- I kinda actually get this one now that I take the time to look at it.

Could you explain what his directions are for the first two? Or anyone.

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 11:14 pm
Quote from: "slowmo"
sure Vox, i have most of GYAN's AoBs as ABC, will share them all with you later.

Very much appreciated. Next major version update, if .swf isn't rendered useless I plan on contributing. Once I can really understand.. the coding, then I'm sure I can really help. I'm trying to learn to write code like you said I'd have to, toggling hacks would be wonderful. Its going slow, but I think I'll get there.

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 11:18 pm

Hey Slowmo, one of the AoBs in your LUA is causing my base to freeze, I cannot page through it when I have them enabled...

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 11:53 pm

I got the chat commands to work ONCE, now that I'm re-doing them they refuse to work, and I can't figure out why. Any tips? Anyone? OMG34, you got it to work real well.

Re: [Request] Battle Pirates.

Posted Feb 8, 2012 11:57 pm
Quote from: "Vox"
I got the chat commands to work ONCE, now that I'm re-doing them they refuse to work, and I can't figure out why. Any tips? Anyone? OMG34, you got it to work real well.


Thanks Vox (broken image removed)
Um, Chat commands are still working on my Uber-Light, want me to copy some of the code from that for you to look at?

Re: [Request] Battle Pirates.

Posted Feb 9, 2012 12:00 am
Quote from: "0M3G4"
Quote from: "Vox"
I got the chat commands to work ONCE, now that I'm re-doing them they refuse to work, and I can't figure out why. Any tips? Anyone? OMG34, you got it to work real well.

Thanks Vox (broken image removed)
Um, Chat commands are still working on my Uber-Light, want me to copy some of the code from that for you to look at?


That'd be wonderful actually!

Re: [Request] Battle Pirates.

Posted Feb 9, 2012 12:11 am
Quote from: "Vox"
Quote from: "0M3G4"
Quote from: "Vox"
I got the chat commands to work ONCE, now that I'm re-doing them they refuse to work, and I can't figure out why. Any tips? Anyone? OMG34, you got it to work real well.

Thanks Vox (broken image removed)
Um, Chat commands are still working on my Uber-Light, want me to copy some of the code from that for you to look at?

That'd be wonderful actually!


goes in ui > chat > battlepirateschat.class.asasm
might have to be tweaked for your swf

Here have a looksie:
(/list is just there to show you where this would go (broken image removed) )

Code: [Select]

L1113:
pushstring "/list"
getlocal2
ifstrictne L1118

pushbyte 7
jump L1450

L1118:
pushstring "/blueprints"
getlocal2
ifstrictne L1327

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1101
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1102
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1103
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1104
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1105
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1106
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1107
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1108
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1109
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1111
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1112
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1113
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1114
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1115
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1116
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1117
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1118
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1119
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1121
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1122
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1123
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1124
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1125
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1126
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1127
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1128
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1129
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1131
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1132
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1133
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1134
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1135
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1136
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1137
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1138
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1139
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1201
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1202
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 1203
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3006
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3005
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3001
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3002
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3003
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3004
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3301
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3302
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3303
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3330
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3331
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 3332
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

pushbyte 0
jump L1450

L1327:
pushstring "/dracHulls"
getlocal2
ifstrictne L1344

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 4050
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 4060
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 4070
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

pushbyte 0
jump L1450

L1344:
pushstring "/hammerHeads"
getlocal2
ifstrictne L1357

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 2001
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

getlex QName(PackageNamespace("com.waterworld.core"), "GLOBAL")
getproperty QName(PackageNamespace(""), "_bBlueprints")
pushshort 2002
callpropvoid QName(PackageNamespace(""), "completeBlueprint"), 1

pushbyte 0
jump L1450

Re: [Request] Battle Pirates.

Posted Feb 9, 2012 12:25 am

Huh. I can't get it to work. I'm trying to unlock all the BPs, but it's just not working. I got in in the same format as yours, but still nothing works. :/

Re: [Request] Battle Pirates.

Posted Feb 9, 2012 12:31 am
Quote from: "Vox"
Huh. I can't get it to work. I'm trying to unlock all the BPs, but it's just not working. I got in in the same format as yours, but still nothing works. :/


how is it not working? Like what is it doing when you type /blueprints?
Attach your battlepirateschat.class.asasm and post it, I'll look over it for you.