PWI Neverfall changes

09/01/2017 16:38 Stark77#31
Awesome. Thank you very much Remmm - really appreciate your help. :handsdown:

global ADDRESS_GATHER := 0x4D5980
global CastAddress := 0x4E4b90 (<- little typo before)
global partyInviteOffset := 0xE8E128
global PlayerTarget_Offset := 0x638
09/01/2017 21:14 KGAKGA#32
Hi all!
In the program opcodescan.exe (which is not working) has been address with the name InGameFlag or OnlineGame value 0x00E4BCCD.
Please help to find it in v1038.

;~ #--------- Player ------------#
global PlayerCoins_Offset := 0x5A8 correct 0x65C
global PlayerCoinsMax_Offset :=0x660
09/01/2017 22:59 Stark77#33
I was, as both of you indicated, missing a few offsets. Here is a more complete list.

;~ #---------- basics ----------#
global realBaseAddress := 0xE7D398
global SendPacketAddress := 0x843AD0
global AutoPathAddress := 0x40A600
global ADDRESS_ACTION1 := 0x4E6FB0
global ADDRESS_ACTION2 := 0x4EC720
global ADDRESS_ACTION3 := 0x4E8080
global ADDRESS_GATHER := 0x4D5980
global CastAddress := 0x4E4b90
global ADDRESS_FOLLOW := 0x8AE41C ; outdated
global partyInviteOffset := 0xE8E128
global UnfreezOffset := 0x508
global chatBase_offset := 0xDAA3D8 ; outdated
global InstanceAddress := 0xE7DDA4 ; 0x1C|0x90
global baseOffset:= 0x1C
global ListOffset := 0x1C
global XposOffset := 0x3C
global YposOffset := 0x44
global ZposOffset := 0x40
;~ #--------- Player ------------#
global PlayerListOffset := 0x1C
global sortedPlayerListOffset := 0x98
global PlayerCounterOffset := 0x18
global playerOffSet := 0x34
global playerNameOffset := 0x80C
global playerIDOffset := 0x4B8
global PlayerHPOffset := 0x4CC
global PlayerHPmaxOffset := 0x520
global PlayerMPOffset := 0x4D0
global PlayerMPmaxOffset := 0x524
global playerLvlOffset := 0x4C4
global PlayerChiOffset := 0x4E0
global PlayerCoins_Offset := 0x65C
global PlayerClass_Offset := 0x810
global PlayerTarget_Offset := 0x638
global PlayerEarningTime_Offset := 0x1944
global PlayerParty_Offset := 0x8DC
global PlayerEventGold := 0x181C
global PlayerNpcWindow := 0x1082
;~ #-------- NPC ----------------#
global NpcListOffset := 0x20
global sortedNpcListOffset := 0x5c
global NpcCounterOffset := 0x18
global NpcUIDOffset := 0x114
global NpcIDOffset := 0x118
global NpcNameOffset := 0x260
global NpcLVLOffset := 0x120
global NpcHPOffset := 0x128
global NpcHPmaxOffset := 0x17C
global NpcSpecialOffset := 0x24C
;~ #-------- Item ---------------#
global ItemListOffset := 0x24
global sortedItemListOffset := 0x1C
global ItemCounterOffset := 0x14
global ItemNameOffset := 0x164
global ItemUIDOffset := 0x110
global ItemIDOffset := 0x114
;~ #----- Inventory -------------#
global InventoryListOffset := 0x1280
global sortedInventoryListOffset := 0xC
global InventorySizeOffset := 0x10
global InvName_Offset := 0x4C
global InvID_Offset := 0xC
global InvStackAmount_Offset := 0x14
global InvMAXStackAmount_Offset := 0x18
global InvDurability_Offset := 0x74
global InvMaxDurability_Offset := 0x78
global refineLevelOffset := 0x90
global InvSellPrice_Offset := 0x1C
global FlyerID_Offset := 0x6AC
global DefCharmOffset := 0x194D
;~ #---------- actions ----------#
global MoveMode_Offset := 0x81C
global playerActionStructOffset := 0x16E4
global SkillsBase_Offset := 0x1710
global SkillsCount_Offset := 0x1714
09/02/2017 06:46 Remmm#34
DCflag = $e9e38c (1-connect 0 - disconnect)
InGameFlag = $E7D5B5 (1-in game 0 - not in game)
09/02/2017 18:44 Stark77#35
Does anyone know the new offsets for reading quest IDs from the quest list?

Guess I only struggle with the byte number:

QuestListBase := readOffsetChain("0x1C|0x34|0x16EC|0x8")
QuestCounter := ReadMemoryUint1(QuestListBase + 0x4, processID)
Loop % QuestCounter
QuestiID := ReadMemoryUint2(QuestListBase + 0x8 + 0x20*(A_index-1), processID)
09/02/2017 20:56 jasty#36
Those offsets look right to me except the quest counter you are using is the 'visible' quest count but the array has other hidden/parent quests in there that don't count towards that. I use QuestListBase+0x0 for the quest count.
09/02/2017 21:10 Kruger2001#37
Hiho ppl, does anyone have the Charchoose for login? I have problems to find.

Stark, my WaitforQuestID(QuestID, p) but not uptodate

Code:
WaitforQuestID(QuestID, p)
{
StartTime:=A_Tickcount
Loop
{
	QuestListBase := readOffsetChain(p, "0x1C|0x34|0x15cc|0x8")
	QuestCounter := ReadMemory(QuestListBase + 0x4, p,1)

	Loop % QuestCounter + 30
	{
	ThisQuestID := ReadMemory(QuestListBase + 0x8 + 0x20*(A_index-1), p,2)
	if (ThisQuestID = 0)
	Break
	if (ThisQuestID = QuestID)
	Return 1
	}
if (StartTime+5000 < A_Tickcount)
Return 0
}
}
09/02/2017 21:22 jasty#38
@[Only registered and activated users can see links. Click Here To Register...]
Code:
Func CharSelect($pos)
	$List = _MemoryRead(_MemoryRead(_MemoryRead($ADDRESS_BASE, $GAME_PROCESS) + 0x1C, $GAME_PROCESS) + 0x18, $GAME_PROCESS)
	$CharPosAddress = _MemoryRead($List+0x8, $GAME_PROCESS) + 0xA4C
	_MemoryWrite($CharPosAddress, $GAME_PROCESS, $pos)
EndFunc
09/02/2017 23:02 Stark77#39
My char select chain is: writeOffsetChain(logThisCharNumber,"0x1C|0x18|0x8| 0xAC|0x8|0x34|0xA4C")

@[Only registered and activated users can see links. Click Here To Register...]: Oh ya now I can remember. Thanks for the hint.

@[Only registered and activated users can see links. Click Here To Register...]: Is it a lot of work for you to fix this redeem code tool? I really liked it xD
09/03/2017 02:34 jasty#40
I'm sure it's easy to write a script to use the web portal for code redemption. No reason to hook into arc. [Only registered and activated users can see links. Click Here To Register...]
03/29/2018 09:34 KGAKGA#41
Good day!
Please help: in the message Stark77 from 09/01/2017, 23:59 there is a complete list of variables.
1. You can upgrade it to client version 1062 ... 1064.
2. Variable global PlayerNpcWindow := 0x1082 is in fact an active flag of a dialogue with the NPC. Someone knows the ID of this NPC at the time of the activity of dialogue in #--------- Player ------------# ?
3. Below is a picture for the Character. Someone can lead the same picture for the NPC . Interested in variables global NpcUIDOffset global NpcIDOffset global NpcNameOffset .

[Only registered and activated users can see links. Click Here To Register...]

Thanks all

P.S. In a pinch - need NpcIDOffset for the next NPC : Jolly Old Jones (422 836 22 , 256 690 24 , 368 461 22 , never Lost Etherblade Plume ), Naturalist is (671 378 23), Orphan Hong (434 458 22), Errant Knight Fei (469 423 37)
03/31/2018 10:44 KGAKGA#42
Something i have be:

;~ #---------- basics ----------#
global realBaseAddress := $00F39878
global baseOffset:= 0x1C
global realGameAddress := $00F3A284
global SendPacketAddress := $00898830
global AutoPathAddress := $0040BD30
global ADDRESS_ACTION1 := $004EC3C0
global ADDRESS_ACTION2 := $004F1B20
global ADDRESS_ACTION3 := $004ED4D0
global ADDRESS_GATHER := $004D9730
global CastAddress := 0x4E4b90
global ADDRESS_FOLLOW := 0x8AE41C ; outdated
global partyInviteOffset := 0xE8E128
global UnfreezOffset := 0x508
global chatBase_offset := 0xDAA3D8 ; outdated
global InstanceAddress := 0xE7DDA4 ; 0x1C|0x90
global ListOffset := 0x1C
global XposOffset := 0x3C
global YposOffset := 0x44
global ZposOffset := 0x40
;~ #--------- Player ------------#
global PlayerListOffset := 0x1C
global sortedPlayerListOffset := 0x98
global PlayerCounterOffset := 0x18
global playerOffSet := 0x34
global playerNameOffset := 0x810
global PlayerClassOffset := 0x814
global playerJineListOffset := 0x408
global playerJineLvlOffset := 0x70
global playerIDOffset := 0x4B8
global PlayerHPOffset := 0x4CC
global PlayerHPmaxOffset := 0x520
global PlayerMPOffset := 0x4D0
global PlayerMPmaxOffset := 0x524
global playerLvlOffset := 0x4C4
global PlayerChiOffset := 0x4E0
global PlayerCoinsOffset := 0x65C
global PlayerMaxCoinsOffset := 0x660
global playerMiningOffset := 0x288
global PlayerTarget_Offset := 0x638
global PlayerEarningTime_Offset := 0x1944
global PlayerPartyOffset := 0x8DC
global PlayerEventGold := 0x181C
global PlayerNpcWindow := $111E
global PlayerGroundZ := $1144
global PlayerListQuest := $1788
;~ #-------- NPC ----------------#
global NpcListOffset := 0x20
global sortedNpcListOffset := 0x5c
global NpcCounterOffset := 0x18
global NpcUIDOffset := 0x114
global NpcIDOffset := 0x118
global NpcNameOffset := 0x260
global NpcLVLOffset := 0x120
global NpcHPOffset := 0x128
global NpcHPmaxOffset := 0x17C
global NpcSpecialOffset := 0x24C
;~ #-------- Item ---------------#
global ItemListOffset := 0x24
global sortedItemListOffset := 0x1C
global ItemCounterOffset := 0x14
global ItemNameOffset := 0x164
global ItemUIDOffset := 0x110
global ItemIDOffset := 0x114
;~ #----- Inventory -------------#
global InventoryListOffset := 0x131C
global sortedInventoryListOffset := 0xC
global InventorySizeOffset := 0x10
global InvName_Offset := 0x4C
global InvID_Offset := 0xC
global InvStackAmount_Offset := 0x14
global InvMAXStackAmount_Offset := 0x18
global InvDurability_Offset := 0x74
global InvMaxDurability_Offset := 0x78
global refineLevelOffset := 0x90
global InvSellPrice_Offset := 0x1C
global FlyerID_Offset := 0x6AC
global DefCharmOffset := 0x194D
;~ #---------- actions ----------#
global MoveMode_Offset := 0x820
global playerActionStructOffset := 0x1780
global SkillsBase_Offset := 0x1710
global SkillsCount_Offset := 0x1714

I invite you to continue :)