Page 8 of 9

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Thu Jul 14, 2011 7:25 am
by Beni

Code: Select all

itemtypes = {
	[1] = { Name = "Armor",
		[1] = { Name = "Chain",
			[1] = { Name = "Upper Body Chain" },
			[2] = { Name = "Belts Chain" },
			[3] = { Name = "Lower Body Chain" },
			[4] = { Name = "Hands Chain" },
			[5] = { Name = "Feet Chain" },
			[6] = { Name = "Capes Chain" },
			[7] = { Name = "Shoulders Chain" },
			[0] = { Name = "Head Chain" },
		},
		[2] = { Name = "Leather",
			[1] = { Name = "Upper Body Leather" },
			[2] = { Name = "Belts Leather" },
			[3] = { Name = "Lower Body Leather" },
			[4] = { Name = "Hands Leather" },
			[5] = { Name = "Feet Leather" },
			[6] = { Name = "Capes Leather" },
			[7] = { Name = "Shoulders Leather" },
			[0] = { Name = "Head Leather" },
		},
		[3] = { Name = "Cloth",
			[1] = { Name = "Upper Body Cloth" },
			[2] = { Name = "Belts Cloth" },
			[3] = { Name = "Lower Body Cloth" },
			[4] = { Name = "Hands Cloth" },
			[5] = { Name = "Feet Cloth" },
			[6] = { Name = "Capes Cloth" },
			[7] = { Name = "Shoulders Cloth" },
			[0] = { Name = "Head Cloth" },
		},
		[4] = { Name = "Accessories",
			[1] = { Name = "Rings" },
			[2] = { Name = "Necklace" },
			[0] = { Name = "Earrings" },
		},
		[5] = { Name = "Off-hand",
			[1] = { Name = "Talismans" },
			[0] = { Name = "Shields" },
		},
		[6] = { Name = "Amulets" },
		[7] = { Name = "Back" },
		[0] = { Name = "Plate",
			[1] = { Name = "Upper Body Plate" },
			[2] = { Name = "Belts Plate" },
			[3] = { Name = "Lower Body Plate" },
			[4] = { Name = "Hands Plate" },
			[5] = { Name = "Feet Plate" },
			[6] = { Name = "Capes Plate" },
			[7] = { Name = "Shoulders Plate" },
			[0] = { Name = "Head Plate" },
		},
	},
	[2] = { Name = "Supplies",
		[1] = { Name = "Desserts" },
		[2] = { Name = "Potions" },
		[0] = { Name = "Foods" },
	},
	[3] = { Name = "Materials",
		[1] = { Name = "Wood" },
		[2] = { Name = "Herbs" },
		[3] = { Name = "Raw Materials" },
		[4] = { Name = "Production Runes" },
		[5] = { Name = "Prepared Materials" },
		[0] = { Name = "Ores" },
	},
	[4] = { Name = "Recipes",
		[1] = { Name = "Carpentry" },
		[2] = { Name = "Armor Crafting" },
		[3] = { Name = "Tailoring" },
		[4] = { Name = "Alchemy" },
		[5] = { Name = "Cooking" },
		[0] = { Name = "Blacksmithing" },
	},
	[5] = { Name = "Equipment Enhancement",
		[1] = { Name = "Runes" },
		[2] = { Name = "Fusion Stones" },
		[0] = { Name = "Refining Gems" },
	},
	[0] = { Name = "Weapons",
		[1] = { Name = "Axes",
			[1] = { Name = "2-Handed Axes" },
			[0] = { Name = "1-Handed Axes" },
		},
		[2] = { Name = "Hammers",
			[1] = { Name = "2-Handed Hammers" },
			[0] = { Name = "1-Handed Hammers" },
		},
		[3] = { Name = "Daggers" },
		[4] = { Name = "Staves",
			[1] = { Name = "2-Handed Staves" },
			[0] = { Name = "1-Handed Staves" },
		},
		[5] = { Name = "Ranged Weapons",
			[1] = { Name = "Crossbows" },
			[2] = { Name = "Arrows" },
			[0] = { Name = "Bows" },
		},
		[6] = { Name = "Projectiles" },
		[0] = { Name = "Swords",
			[1] = { Name = "2-Handed Swords" },
			[0] = { Name = "1-Handed Swords" },
		},
	},
}
itemtypes_language = "EN"

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Thu Jul 14, 2011 7:35 am
by lisa
Ok now we are getting somewhere, notice it jumps from
[5] = { Name = "Equipment Enhancement",
to
[0] = { Name = "Weapons",

It's actually missing 6-12

Code: Select all

	[6] = { Name = "Monster Cards" },
	[7] = { Name = "Mounts" },
	[8] = { Name = "Household",
		[1] = { Name = "Furniture" },
		[2] = { Name = "Knowledge Books" },
		[0] = { Name = "House Contracts" },
	},
	[9] = { Name = "Special Items" },
	[10] = { Name = "Quest Items" },
	[11] = { Name = "Others" },
	[12] = { Name = "Money",
		[1] = { Name = "Diamonds" },
		[0] = { Name = "Gold" },
	},
I doubt trying to add that into the file will help any.
Need to work out why you arn't getting all of the item types.

Ok can you now open up rom/addresses.lua and copy the entire contents here, in code tags again thx

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Thu Jul 14, 2011 8:24 am
by rock5
lisa wrote:I doubt trying to add that into the file will help any.
Actually, if you added it properly, it might work.

Also, you might want to just delete the "itemtypestable.lua" and let the game recreate it to see if it works. Maybe it just stuffed up, or was interrupted somehow when it created it, and saved a corrupt version with the missing bits.

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Thu Jul 14, 2011 8:31 am
by lisa
well on the off chance using a full file might work ill attach mine from client 304.

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Thu Jul 14, 2011 10:20 am
by Beni

Code: Select all

-- Auto-generated by update.lua
addresses = {
	actionBarPtr = 0xA19A8C,
	actionKeyId_offset = 0x10,
	actionKeyType_offset = 0xC,
	amountOffset = 0x10,
	boundStatusOffset = 0x40,
	camPtr_offset = 0x46C,
	camXUVec_offset = 0x128,
	camX_offset = 0x104,
	camYUVec_offset = 0x12C,
	camY_offset = 0x108,
	camZUVec_offset = 0x130,
	camZ_offset = 0x10C,
	castingBarPtr = 0xA19B78,
	castingBar_offset = 0xC,
	charAlive_offset = 0x224,
	charBattle_offset = 0x732,
	charExp_address = 0x9C5858,
	charMaxExpTable_address = 0xA122A0,
	charPtrMounted_offset = 0x7C,
	charPtr_offset = 0x598,
	chatEntryOpen_offset = 0x1C,
	chat_offset1 = 0x0,
	chat_offset2 = 0x10,
	chat_offset3 = 0x3D8,
	chatbase_address = 0xA943AC,
	coolDownOffset = 0xE8,
	durabilityOffset = 0x18,
	editBoxHasFocus_address = 0xA16F54,
	effectDuration_offset = 0x9C,
	effectIsMainFlag_offset = 0x90,
	effectType_offset = 0x94,
	eggPetAptitude_offset = 0x54,
	eggPetBaseAddress = 0x9DE430,
	eggPetCrafting_offset = 0x34,
	eggPetDex_offset = 0x68,
	eggPetEggId_offset = 0x20,
	eggPetExp_offset = 0x40,
	eggPetHerbalism_offset = 0xD8,
	eggPetInt_offset = 0x6C,
	eggPetLevel_offset = 0x2C,
	eggPetLoyalty_offset = 0x4C,
	eggPetMaxExpTablePtr = 0xA1252C,
	eggPetMaxTP_offset = 0x48,
	eggPetMining_offset = 0xD0,
	eggPetNourishment_offset = 0x50,
	eggPetPetId_offset = 0x28,
	eggPetProducts_offset = 0x16C,
	eggPetSkills_offset = 0x7C,
	eggPetSta_offset = 0x64,
	eggPetStr_offset = 0x60,
	eggPetSummoned_offset = 0x38,
	eggPetTP_offset = 0x44,
	eggPetToolId_offset = 0xE4,
	eggPetTraining_offset = 0x58,
	eggPetWis_offset = 0x70,
	eggPetWoodworking_offset = 0xD4,
	hotkeysKey_offset = 0x54,
	hotkeysPtr = 0xA1B178,
	hotkeys_offset = 0x28,
	idCardNPCOffset = 0x364,
	idOffset = 0xC,
	idRecipeItemOffset = 0xF0,
	inUseOffset = 0x1C,
	inventoryBagIds = 0x9DAE4C,
	itemCountOffset = 0x10,
	itemInfoOffset = 0x10,
	loadingScreenPtr = 0xA1B288,
	loadingScreen_offset = 0xC,
	macroBody_offset = 0x118,
	macroIcon_offset = 0x14,
	macroId_offset = 0x10,
	macroName_offset = 0x18,
	macroSize = 0x508,
	maxDurabilityOffset = 0x15,
	maxStackOffset = 0x1C,
	moneyPtr = 0x9D713C,
	mousePtr_offset = 0x744,
	nameOffset = 0xC,
	partyIconList_base = 0xA1B348,
	partyIconList_offset = 0xC,
	partyMemberList_address = 0x9E6F38,
	partyMemberList_offset = 0x134,
	pawnAttackable_offset = 0x384,
	pawnBuffId_offset = 0x4,
	pawnBuffLevel_offset = 0x28,
	pawnBuffTimeLeft_offset = 0x14,
	pawnBuffsEnd_offset = 0x26C,
	pawnBuffsStart_offset = 0x268,
	pawnCasting_offset = 0x25C,
	pawnClass1_offset = 0x2FC,
	pawnClass2_offset = 0x304,
	pawnDirXUVec_offset = 0x34,
	pawnDirYUVec_offset = 0x38,
	pawnDirZUVec_offset = 0x3C,
	pawnGUID_offset = 0x20,
	pawnHP_offset = 0x2C8,
	pawnHarvesting_offset = 0x160,
	pawnId_offset = 0x14,
	pawnLevel2_offset = 0x308,
	pawnLevel_offset = 0x300,
	pawnLootable_offset = 0x388,
	pawnMP2_offset = 0x2DC,
	pawnMP_offset = 0x2D4,
	pawnMaxHP_offset = 0x2D0,
	pawnMaxMP2_offset = 0x2E0,
	pawnMaxMP_offset = 0x2D8,
	pawnMount_offset = 0xC4,
	pawnName_offset = 0x290,
	pawnPetPtr_offset = 0x280,
	pawnRace_offset = 0x310,
	pawnTargetPtr_offset = 0x274,
	pawnType_offset = 0x18,
	pawnX_offset = 0x28,
	pawnY_offset = 0x2C,
	pawnZ_offset = 0x30,
	ping_offset = 0x7A8,
	qualityBaseOffset = 0x40,
	qualityTierOffset = 0x16,
	realItemIdOffset = 0x98,
	rentBagBase = 0x9DB9F4,
	requiredLevelOffset = 0x58,
	skillAoEFlag_offset = 0xA4,
	skillAsLevel_offset = 0x18,
	skillAttackFlag_offset = 0xB4,
	skillBuffFlag_offset = 0xEC,
	skillCastTime_offset = 0xF4,
	skillClass_offset = 0x304,
	skillCooldown_offset = 0xE8,
	skillEffectStart_offset = 0x188,
	skillLevel_offset = 0xC,
	skillMaxLevel_offset = 0xF4,
	skillPassiveFlag_offset = 0x94,
	skillPercentMana_offset = 0xCC,
	skillPowerTypeUsed_offset = 0xC0,
	skillPower_offset = 0xC4,
	skillRangeAoE_offset = 0xA0,
	skillRange_offset = 0x9C,
	skillRequiredEffectFlag_offset = 0xD0,
	skillRequiredEffect_offset = 0xD4,
	skillRequiredEffectsStart_offset = 0x190,
	skillSelfBuffFlag_offset = 0xE0,
	skillTPToLevel_offset = 0x8,
	skillTargetType_offset = 0x98,
	skillTypeFlag1_offset = 0xF0,
	skillTypeFlag2_offset = 0x2FE,
	skillTypeFlag3_offset = 0x2FF,
	skillTypeFlag4_offset = 0x314,
	skillTypeFlag5_offset = 0x315,
	skillTypeFlag6_offset = 0xBA,
	skillTypeFlag7_offset = 0x300,
	skillTypeFlag8_offset = 0xE4,
	skillTypeFlag9_offset = 0x274,
	skillsBase = 0x9C7EC8,
	skillsTableBase = 0xA1C670,
	skillsTableTabEndAddress_offset = 0x8,
	skillsTableTabStartAddress_offset = 0x4,
	staticEquipBase = 0x9C713C,
	staticInventory = 0x9D4168,
	staticTablePtr = 0xA1C968,
	staticTableSize = 0xA1C96C,
	staticbase_char = 0x9C57EC,
	staticbase_macro = 0xA1B2BC,
	staticpattern_char = 0x5E3397,
	staticpattern_macro = 0x756715,
	tableDataStartPtrOffset = 0x1C,
	tableStartPtrOffset = 0x124,
	tablesBase = 0x9E81C4,
	tablesBaseOffset = 0x28,
	typeOffset = 0x78,
	valueOffset = 0x34,
}

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Thu Jul 14, 2011 11:30 am
by lisa
I'll have a look at it tomorrow to see if any addresses seem off, I need to get some sleep =)

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Thu Jul 14, 2011 11:13 pm
by lisa
Which game client version are you using?
is it chapter 4 or an old version like 3.0.4 ??

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Fri Jul 15, 2011 4:30 am
by Beni
Hello, i'm using 4.0.0.2418.en

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Fri Jul 15, 2011 6:35 am
by lisa
Ok well that is different lol
This topic is for people who run on a server using an old version of the client.
Hence the name 3.0.4

Did you try using the file I attached?

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Fri Jul 15, 2011 8:11 am
by Beni
it's working perfectly now with the new ''itemtypestable.lua"" and this code:

Code: Select all

                <option name="INV_AUTOSELL_ENABLE"	value="true" />
                <option name="INV_AUTOSELL_FROMSLOT"		value="1" />
                <option name="INV_AUTOSELL_TOSLOT"		value="90" />
                <option name="INV_AUTOSELL_QUALITY"		value="white,green,blue" />
                <option name="INV_AUTOSELL_TYPES"		value="Weapons,Armor,Recipes,Others" />
                <option name="DEBUG_AUTOSELL"      value="true" />
Thank you very much !

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Mon Aug 01, 2011 3:27 am
by harbifm
Thanks lisa for the greet work, it benifited me a lot
I got one problem with it the since I used this address.lua, it is that when the character loot a recipe from a mob, the bot stops working and give an error in the Dos screen(bot screen).

I am not sure how that could be fixed.

i hope it is somthing easy, I am not on my PC (not at home now), but if you need a screen, I can provide

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Mon Aug 01, 2011 3:59 am
by lisa
Yeah that is an issue with the bot itself, a few attempts have been made to fix and pretty sure it works fine in the latest update.

Try updating to latest SVN, then just use the addresses file on first post again. There may have been new addresses added since I did that file. Just have to see if it works, if there is an error then prob just a matter of finding the address for you.

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Tue Aug 02, 2011 3:49 am
by harbifm
thanks lisa for the relpay

I will try to update to the latest version of the bot.

They are updatring our server to 3.10 (today actuly)

if you can explian how can I fix the adress in the addresses file in easy method, to start, where I can find the right address for recipes for my client?

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Tue Aug 02, 2011 3:56 am
by lisa
Just so happens someone wrote a guide for finding most of the addresses.
http://www.solarstrike.net/phpBB3/viewt ... =21&t=2580

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Tue Aug 02, 2011 1:49 pm
by harbifm
by today, rombot is not working any more

server updated to version 3.0.10

version 606 of the bot not working any more, please see the error attached, please give me suggestion for a solution


thanks

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Tue Aug 02, 2011 8:22 pm
by lisa
need to find the new addresses

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Wed Aug 03, 2011 12:17 am
by lisa
try this, these are the addresses from rev 621, first few addresses I found matched the ones we used in june, so hopefully it will be fine.
addresses.lua
addresses for 3.1
(4.89 KiB) Downloaded 215 times

I think in the future I will just remember to get you to try a diff revision for the addresses.lua file before I download the 1.4 gig patch.

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Wed Aug 03, 2011 7:53 am
by harbifm
thanks lisa

I tried the new addresses, unfortantly, it did not work, got this error attached

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Wed Aug 03, 2011 8:48 am
by lisa
Do an update to rev 606, do a revert.

just make sure you still have settings.xml with

Code: Select all

<option name="ROMDATA_PATH" value="C:\Program Files\Tahadi Games\Asateer Al Qowa\" />
Should work fine then.

Found this for your client, just posting here so I don't lose it.

Code: Select all

skillsTableBase = 0xA12ED0,

Re: 3.0.4 client servers, now Revision 606 ready

Posted: Wed Aug 03, 2011 11:44 am
by harbifm
i tried this solution. did not work either
i tried old version that used to work (v. 477), did not work either.
any ideas what could be causing this error?