PDA

View Full Version : light source



BlueAdept
02-28-2006, 12:12 AM
Ok. I know where the light source is in the spawn struct. I calculated it out at 503 but compiled and didnt work. I must be off. Going to post the spawn data and show where the bit is. I will also work on this tomorrow to see where I errored.



17904 | 00 00 61 5f 77 69 6c 6c 6f 77 69 73 70 31 38 00 | ..a_willowisp18.
17920 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
17936 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
17952 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
17968 | 00 00 00 00 00 00 00 00 95 55 00 00 03 ff ff ff | .........U......
17984 | ff 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18016 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18032 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18048 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff | ................
18064 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18096 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18112 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18128 | e3 bf 15 04 00 58 03 00 00 c0 02 00 14 84 ed 1e | .....X..........
18144 | 31 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 1...............
18160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18176 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18192 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18208 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18224 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18256 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18272 | 00 00 00 00 00 ff 02 01 00 00 00 00 00 00 00 00 | ................
18288 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18304 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18336 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18352 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18368 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18384 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
18400 | 00 00 00 00 00 00 00 00 00 0b 01 00 00 00 00 00 | ................
18416 | 00 00 00 40 40 00 00 00 00 0b ff ff ff ff ff ff | ...@@...........
18432 | ff ff 00 00 00 00 00 00 45 00 00 00 00 00 00 00 | ........E.......


The bold one is the light source.


18400 | 00 00 00 00 00 00 00 00 00 0b


I thought it was at position 503, but I must be off since it didn't work after I re-compiled.

Whizzie Wiz
02-28-2006, 04:15 AM
By the new spawnStruct, the name starts at +127, which in your fragment is at 17906. So the byte at 18409 is at offset (18409-17906+127)=+630...

purple
02-28-2006, 05:41 AM
Thanks, BA.

purple
02-28-2006, 05:58 AM
630 is correct if anyone wants to fix their local copies. And thanks for teaching me how to find it, BA. I was looking for 0a or 0d! Bah! The two High Priests in the Guild Lobby are good for finding light.

I appreciate the help.

BlueAdept
02-28-2006, 07:51 AM
I was tired last night when I did this (as you can see by my message).

I know that Lightstones are 0a GLS are 0b fire beetle eyes are 0c. If I remember correctly Burned out are 0a.

I kept thinking that the name was the start of the packet. That was my mistake and why it didn't work. If I had been more awake, I probably would have realized it.

Ive found it several times before to help SEQ, last night I just didn't have time to find my error. Glad I could contribute something...even if it is very minor.