rev 645

For changelogs and discussion related to a specific revision.
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: rev 645

#21 Post by lisa » Tue Oct 04, 2011 12:06 am

K I'll give it a test.

I just had tmp.Id as nil, first time I saw that lol
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: rev 645

#22 Post by lisa » Tue Oct 04, 2011 12:11 am

errored out

Code: Select all

3:7pm - C:/micromacro 609/scripts/rom/classes/pawn.lua:423: bad argument #2 to '
format' (number expected, got nil)
logdata had this

Code: Select all

 Pawn name: <UNKNOWN>  buffStart: bddfa1c1 buffEnd: be91fa26
Address	Id	Name	0	4	8	c	10	14	18	1c	20	24	28	2c	30	34	38	3c	40	44	48	4c	50
bddfa1c1
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: rev 645

#23 Post by lisa » Tue Oct 04, 2011 12:23 am

Ok managed to get an entire thingy, errored saying data saved.
mm printed

Code: Select all

Id 941907161 not found
Id 1146108161 not found
Id 91619320 not found
Id 1166738805 not found
Id 1363693197 not found
Id 1213631788 not found
Id 1141968883 not found
Id 254551108 not found
Id 1284309899 not found
Id 267586678 not found
Id 606371032 not found
Id 267600932 not found
Id 144 not found
Id 405030105 not found
Id 608984079 not found
Id 267607076 not found
Id 2095632267 not found
Id 405030105 not found
Id 941902989 not found
Id 141068560 not found
Id 138971908 not found
Id 1461984477 not found
Id 1198653591 not found
Id 989970563 not found
Id 1557725235 not found
Id 273078559 not found
Id 1778423540 not found
Id 15493203 not found
Id 1856 not found
Id 1804 not found
Id 1006632924 not found
Id 38532 not found
Id 206080792 not found
Id 612142418 not found
Id 325714070 not found
Id 1583334282 not found
log had

Code: Select all

 Pawn name: <UNKNOWN>  buffStart: 580059 buffEnd: 5b005a
Address	Id	Name	0	4	8	c	10	14	18	1c	20	24	28	2c	30	34	38	3c	40	44	48	4c	50
580059	941907161	nil	247c8d00	eba5f348	1845d958	8df1db53	8d4c2444	563c244c	e1de2f72	34244cd8	38245cd9	fff5bee8	2444d9ff	8c48338	51104b8d	24548d51	241cd950	e8c28b52	1be3	eb0cc483	c7d9dd14	502444	dd000000	
5800ad	-212589500	nil	f58de8d8	c483ffff	24548b08	84d8b14	2207983	d2853975	570f3575	110ff3c0	f3542444	2444110f	110ff350	f34c2444	2444110f	110ff358	f35c2444	2444110f	100ff360	974da805	110ff300	8b642444	44d90c49	
580101	-6456600	nil	98b1024	8d04498b	50482444	243be0f	4c8b5151	1cd92c24	4d8b5124	ca8b5114	ff9d7ae8	247c8bff	14c48334	3b01c783	8934247c	f20247c	fffe528c	5b5e5fff	c35de58b	cccccccc	cccccccc	55cccccc	e483ec8b	
580155	-585337316	nil	2cec83f8	d9c0570f	ff31845	f184d10	5653c82f	110ff357	f3182444	2444110f	dd1c761c	974df805	d9c9d800	d818245c	dc182464	940c603d	245cd900	dd02eb1c	85d8bd8	44c7338b	3424	18e80000	fffff7b	
5801a9	-571351264	nil	2f0fc957	110ff3c8	76202444	c1280f05	46d91beb	245cd940	2444d914	2444d914	ddf1df20	f30676d8	2444100f	f3038b14	2444110f	100ff328	ff34040	2c244411	202c40f6	44c60c74	c6003124	302444	78832deb	
5801fd	1146108161	nil	c750048	312444c6	2444c601	1beb0130	447883	88c19f0f	8b30244c	ea834850	44503901	88c09c0f	8b312444	488b1445	8788b04	8b0c538b	128b1c43	8b24588b	45392040	4528b0c	8908728b	8914244c	7e0c244c	
580251	91619320	nil	c458903	8308458b	c7022078	102444	75000000	4538b5a	5374d285	8304468b	575fff8	eb10458b	6e0c105	5157c103	4c4e8d50	8468d51	8d525350	5144244c	fff83ae8	24548bff	244c8b34	40c28334	8120c483	
5802a5	-1928393659	nil	98c6	54c38300	44c7ff85	11024	54890000	3740c24	8b40c783	3b102444	8d0f0c45	1b6	eb04c683	244c8b04	4438b14	c24548b	d100ff3	974e88	20244489	8b08458b	c0852440	bf0f1f74	4503b13	
5802f9	-1954974528	nil	408b0a7d	100ff308	4eb9004	100ff3	77c82f0f	24548b2a	8458b0c	8528408b	8b7974c0	3b102454	a7d0450	f308408b	9004100f	ff304eb	2f0f0010	855976c8	74068bff	fff8832c	458b0575	c105eb10	c10306e0	
58034d	1166738805	nil	c244c8b	568d5751	8d505248	ff500446	9b749c15	14c48300	f0e9	fff88300	458b0575	c105eb10	c10306e0	c244c8b	568d5051	15ff5204	9b74ac	e90cc483	c9	c24548b	8b0c43d9	245cd906	2444d924	
5803a1	1363693197	nil	2444d924	72f1df18	fff8833e	575d8dd	eb10458b	6e0c105	ff85c103	57187452	51484e8d	10438d50	9c15ff50	83009b74	82e914c4	50000000	5010438d	74ac15ff	c483009b	d972eb0c	f1db1845	f8833a72	d8e1deff	
5803f5	1213631788	nil	d91c244c	7524245c	10458b05	e0c105eb	d9c10306	51242444	52241cd9	24448b50	48568d2c	4c8d5352	1ce83c24	83fffff8	31eb14c4	ddfff883	75d8ddd9	10458b05	e0c105eb	57c10306	24548b52	468d5028	4e8d5048	
580449	-2096925441	nil	4b8b5104	8d525308	50442444	c483d1ff	24448320	c681400c	98	8554c383	830374ff	448b40c7	c0831024	c453b01	10244489	fe4f8c0f	5e5fffff	5de58b5b	ccccccc3	55cccccc	e483ec8b	94ec81f8	53000000	
58049d	1141968883	nil	83085d8b	5600207b	71840f57	8b000004	2c46f633	65840f01	e8000004	ffff7623	44110ff3	44d91824	ff31824	4e880510	4ed80097	245cd950	442f0f24	830f2424	43c	8b1c438b	c0852440	42e840f	408b0000	
5804f1	254551108	nil	89c08504	f182444	41f84	100ff300	ff34046	4e9c0d10	2f0f0097	110ff3c8	f2c2444	40383	3c46d900	d90c4dd8	98e80c5d	8affff77	ff31c4d	20244411	202444d9	13244c88	65d8c0d9	245cd90c	2444d91c	
580545	1284309899	nil	ddf1df1c	f31976d8	244c100f	f3c9841c	2444110f	110ff31c	f20244c	13244494	4c8d038b	8d512a24	e82f247c	ffff76fb	8004c483	2a247c	570f1b75	442f0fc0	870f2024	390	24442f0f	f306761c	2444110f	
580599	267586678	nil	247c801c	44d9002b	44d91c24	c9d92c24	f1db1c75	366870f	44d90000	f2df2024	ff30c76	2c244410	44110ff3	438b2024	1e88320	27b840f	e8830000	3d850f01	de000003	5cd951f1	44d91824	1cd91824	f671e824	
5805ed	606371032	nil	4489fffe	44db1824	d8f71824	302444d9	c0d9f88b	c9d9cade	20246cd8	20245cd9	24247cd8	18245cd9	182444d9	e8241cd9	fffef63f	242444d9	44100ff3	748b3024	44891c24	44db1824	f8031824	8d04c483	902494	
580641	267600932	nil	4cd80000	8d522c24	507c2444	448de9de	7c894424	44c77024	5024	5cd90000	ff34424	48244411	4c2444c6	2444c600	38e8004d	d9fffff3	8d242444	d960244c	5144245c	7824548d	24448d52	f31de84c	84d9ffff	
580695	144	nil	8824	2464d800	24448d7c	b48d505c	a424	245cd900	24448d44	2484d96c	90	8424a4d8	d9000000	d948245c	942484	a4d80000	8824	245cd900	8f85e84c	c4830000	74ff8514	1c438b4a	84248c8d	
5806e9	405030105	nil	51000000	40244c8d	ffb0bae8	2444dbff	248c8d6c	88	5024448d	18245cd9	182444d9	e8241cd9	ffff761b	182444d9	40244c8d	3424448d	e8241cd9	ffff7607	8004c483	13247c	5100ff3	974dac	280f5a74	
58073d	608984079	nil	5c0ff3c8	f34c244c	244c110f	c8280f4c	4c5c0ff3	ff35024	50244c11	f3c8280f	244c5c0f	110ff354	f54244c	ff3c828	30244c5c	4c110ff3	280f3024	5c0ff3c8	f334244c	244c110f	c8280f34	4c5c0ff3	ff33824	
580791	-829751141	nil	38244c11	1824748b	8b08c683	f72de8c6	c084fffe	548d3475	6a523c24	bab4ba00	ce8b009b	feff06e8	8c483ff	3c244c8d	3024448d	8d36e8	24448d00	8d2de84c	ff30000	4dac0510	280f0097	5c0ff3c8	f358244c	
5807e5	267607076	nil	244c110f	c8280f58	4c5c0ff3	ff35c24	6024445c	58244c8d	3024448d	4c110ff3	ff35c24	60244411	8ceee8	2444d900	18458b24	244c8d51	241cd950	ff750ae8	2444d9ff	14458b28	34244c8d	e8241cd9	ffff74f7	
580839	-1962653557	nil	d910458b	4c48300	242444d8	5e5f18d9	5de58b5b	1c438bc3	108bd9dd	20246cd8	8b04488b	c8b1452	245cd98a	78718b14	6574f685	13247c80	100ff300	f3242444	2444110f	f3127418	ac0d100f	f300974d	f3c85c0f	
58088d	2095632267	nil	244c110f	2444d918	7c8d5114	1cd94024	39de824	44d90000	458b1c24	241cd914	7ce8cf8b	d9ffff74	8d182444	d940244c	c68b241c	46ae8	2444d900	18458b1c	ffff5fe9	247c80ff	44d90013	4cd81424	138b2424	
5808e1	405030105	nil	d94072d8	7418245c	100ff314	974dac05	5c0ff300	f3182444	2444110f	4488b18	182444d9	428b108b	880c8b14	8314458b	e9516cc1	ffffff18	d8ddd9dd	8b5b5e5f	ccc35de5	cccccccc	cccccccc	8bcccccc	8b042444	
580935	-1957342464	nil	f4e91c40	ccffffbb	8bcccccc	83042444	ccc31cc0	cccccccc	81cccccc	710ec	8b555300	72024ac	57560000	70c68	8ddb3300	53182444	bb37e850	4c8d0033	146a1c24	244c8d51	2444c728	428	245c8900	
580989	941902989	nil	245c892c	e0fde830	458bffff	6bd08b10	505234d2	2c24448b	5110488d	500cc083	38244c8d	ffe19ee8	24548bff	24448b3c	68505238	3c6	96f1e868	bc15ff00	83009b88	f08b34c4	14247c8d	ffe1d6e8	ff33bff	
5809dd	141068560	nil	b084	244c8b00	100ff310	7242484	19890000	1024548b	42110ff3	24448b04	8688910	1024448b	5839f633	868e0f0c	f3000000	3805100f	3300974e	9b8dff	8b000000	c7031040	68891889	8708904	89145889	
580a31	138971908	nil	58891858	d468b91c	48890093	1048890c	89205889	58892c58	110ff330	508b2840	8488b04	8b14528b	b70f8a0c	c1f66849	c7097401	12440	beb0000	d1d1b60f	2e283ea	8b245089	83102444	c78301c6	c703b34	
580a85	-858993460	nil	5e5f997c	c4815b5d	710	24448bc3	5d5e5f10	10c4815b	c3000007	cccccccc	cccccccc	cccccccc	55cccccc	e483ec8b	34ec83c0	85d8b53	57338b56	f73bff33	30247489	ff35c74	f404610	2f0fc957	110ff3c8	
580ad9	1461984477	nil	d9382444	77382444	8438b0e	d90440d9	ddf1dbc9	8b5a76d9	41d9084b	8ec8304	57241cdd	dd08ec83	fe68241c	68000003	96f1e8	96f26868	6a2c6a00	8df5e803	c483ffff	5fc03328	e58b5b5e	538bc35d	442d908	
580b2d	-1283190793	nil	d908ec83	d904245c	1cd90443	6ce1e824	c483ffff	24448908	ebf08b30	3bd8dd02	b3840ff7	39000000	7c890c7b	8e0f3824	c1	34247c89	3107b8b	8b34247c	c0852047	4e8b7974	1e1802c	f01f980	5488c294	
580b81	1198653591	nil	4c8b3c24	51573c24	e85650	8300008d	c08510c4	ff33a74	f284710	4d68052f	47720097	5018508b	d0ff028b	8504c483	8b3874c0	74c08500	2847d932	d9f08b51	c8e8241c	8bffffb9	83342474	1beb04c4	42b68	
580bd5	989970563	nil	f1e86800	a4680096	6a0096f2	e8036a2c	ffff8d27	8b14c483	83382444	34342444	3b01c083	44890c43	8c0f3824	ffffff60	33681beb	68000004	96f1e8	96f2c868	6a2c6a00	8cf1e803	c483ffff	36685314	68000004	
580c29	-557786852	nil	96f1e8	894c15ff	c483009b	c68b5f0c	e58b5b5e	83ccc35d	46d918ec	2444d908	dec0d91c	d9c9d9ca	d91c245c	44d92446	c0d91c24	c9d9cade	8245cd9	82444d9	46d91fd9	d9c9d828	d90c245c	d90c2444	4ed8045f	
580c7d	1557725235	nil	245cd92c	2444d910	85fd910	d9044ed8	d91c245c	245cd906	2444d904	b7f9e81c	5cd90033	44d91424	25dc1424	940c60	4244cd8	14245cd9	1c2444d9	33b9a4e8	245cd900	2444d91c	244cd81c	245cd904	2444d904	
580cd1	273078559	nil	d8c0d914	44d80c4e	5cd90824	46d91c24	2444d918	dec0d904	d8c9d9ca	d91c2444	1046d91f	44d8cad8	5cd90c24	44d91c24	46d91c24	decad81c	45fd9c1	de1446d9	2444d9ca	d9c2de10	245cd9c9	2046d91c	44d8c9de	
580d25	-641082934	nil	5fd91c24	18c48308	d9ccccc3	4cd80440	5cd90424	40d90424	2444d924	dec0d904	d9c9d9ca	2840d919	59d9c9d8	2c48d804	c30859d9	cccccccc	51cccccc	824548b	5300ea83	14245c8b	246c8b55	748b561c	44c62424	
580d79	1778423540	nil	74000f24	1ea8369	ea834874	8b297401	50142444	8868	f3906800	c680096	6a0096f4	e8036a13	ffff8b6b	2724448a	5e18c483	c3595b5d	8b515657	5524244c	e8cb8b51	39cf	b014c483	5b5d5e01	548bc359	
580dcd	-265554037	nil	56571824	c88b5551	e8c38b52	32133	b014c483	5b5d5e01	f685c359	1374ce8b	f02bf78b	e983108a	6148801	8501c083	5ef175c9	5b01b05d	ccccc359	cccccccc	81cccccc	718ec	9c8b5300	72424	ed335500	
580e21	15493203	nil	cb8bc033	5756cd2b	10244489	b5840f	e9830000	39840f01	83000001	217401e9	ec6853	90680000	680096f3	96f40c	36a136a	ff8ab6e8	18c483ff	e9e9	70c6800	448d0000	50551c24	33b638e8	244c8d00	
580e75	1856	nil	51106a1c	2c244c8d	2c2444c7	4	30246c89	34246c89	ffdbfee8	24948bff	740	24748d52	247c8d2c	3799e830	448b0000	4c8b3424	51503024	e268	f3906800	15ff0096	9b88bc	8b28c483	dce5e8f0	
580ec9	1804	nil	f53bffff	448b7c74	548b1424	42891024	244c8b0c	c418b10	37aae8	6863eb00	70c	1c24548d	b2e85255	8d0033b5	6a1c2444	4c8d5010	44c72c24	42c24	6c890000	6c893024	78e83424	8bffffdb	8b30244c	
580f1d	1006632924	nil	512c2454	ce6852	90680000	ff0096f3	9b88bc15	24c48300	7c8df08b	70e81824	3bffffdc	8b0774f5	89102444	448b0c68	c53b1024	948b2274	73824	8b188900	8910244c	448b0451	8c8a1024	73424	8488800	
580f71	38532	nil	1024448b	5b5d5e5f	718c481	51c30000	55530e8b	10246c8b	c18bdb33	f57c32b	9684	1e88300	e8832174	51237401	12668	f3906800	c680096	6a0096f4	e8036a13	ffff8957	8a18c483	5b5d5fc3	458dc359	
580fc5	206080792	nil	46a5008	11868	f3906800	15ff0096	9b88bc	c483f88b	74fb3b10	24448b2f	c488b18	50535557	11968	f3906800	d1ff0096	3b18c483	8b1175c5	52570c56	d4e8c58b	83000036	1b308c4	1206857	90680000	
581019	612142418	nil	ff0096f3	9b894c15	cc48300	5d5fc38a	8bc3595b	8b1c2444	8b18244c	51500456	247c8d52	245c8918	20b9e818	4c8b0003	c4831824	c4e010c	595b5d5f	ccccccc3	cccccccc	51cccccc	6c8b5553	8b561424	33168bf1	
58106d	325714070	nil	2bca8bdb	747457cb	7401e983	1e98321	68522474	154	96f39068	f40c6800	136a0096	78e8036a	83ffff88	c38a18c4	5b5d5e5f	6850c359	148	96f39068	7415ff00	8b009b75	cc483f8	de74fb3b	1824448b	
5810c1	1583334282	nil	e8505755	fffffeb7	83084f8b	68570cc4	14d	96f39068	ffd88a00	cc483d1	5e5fc38a	c3595b5d	5504568b	244c8d52	245c8918	1fb5e818	4c8b0003	c4831824	c4e0108	5b5d5e5f	ccccc359	8bcccccc	c18b530e	
Attachments
buffdata.log
log data
(10.35 KiB) Downloaded 130 times
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: rev 645

#24 Post by rock5 » Tue Oct 04, 2011 2:17 am

Ok there is obviously no buff data there and that range is obviously wrong.

So I tend to agree with you, maybr the pawn object became obsolete. That can be checked easily enough.

In player:target() it checks to see if the pawn is still valid by just checking the pawn id. We can do that here too.
pawn.lua
(19.14 KiB) Downloaded 146 times
I notice, though, that that pawn had no name. Maybe the object causing the problems are never players or mobs?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: rev 645

#25 Post by lisa » Tue Oct 04, 2011 3:40 am

but wouldnt pawn name come from the offset of the address. So if the data changed then reading the offset probably wouldn't actually give a name.

So pawn.Name would be <UNKNOWN> as set by pawn.lua as default?

I'll test your file before patch.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: rev 645

#26 Post by lisa » Tue Oct 04, 2011 4:03 am

k got this.

Code: Select all

pawn has valid id 262151. Original id was 262151. Why are the buff addresses wrong? 610073, 760064
pawn has valid id 1. Original id was 1. Why are the buff addresses wrong? 30c20a00, 30c2a200
pawn has valid id 1. Original id was 1. Why are the buff addresses wrong? 30c20a00, 30c2a200
pawn has valid id 1. Original id was 1. Why are the buff addresses wrong? 30c20a00, 30c2a200

Code: Select all

pawn has valid id 1. Original id was 1. Why are the buff addresses wrong? 256f6c00, 256fde00
pawn has valid id 1. Original id was 1. Why are the buff addresses wrong? 256f6c00, 256fde00
pawn has valid id 1. Original id was 1. Why are the buff addresses wrong? 256f6c00, 256fde00

Code: Select all

pawn has valid id 655369. Original id was 655369. Why are the buff addresses wrong? 580059, 5b005a
pawn has valid id 655369. Original id was 655369. Why are the buff addresses wrong? 580059, 5b005a
pawn has valid id 655369. Original id was 655369. Why are the buff addresses wrong? 580059, 5b005a
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: rev 645

#27 Post by rock5 » Tue Oct 04, 2011 4:48 am

Hm... 262151 and 655369 look like a valid ids but GetIdName says id's not found.

I don't think 1 is valid either. I think 1000 is the lowest valid id.

If all the problems are with invalid pawns then all we have to do is make sure the ids are valid.

If we use GetItemAddress to check the id all should be well. Or maybe we could use some other variable such as if the pawn.Type is player or monster. That would also save checking buffs on other objects.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

berzer
Posts: 16
Joined: Mon Apr 25, 2011 6:24 pm

Re: rev 645

#28 Post by berzer » Tue Oct 04, 2011 9:46 am

bot is not working..
btw you saw this Frogster change:

https://forum.runesofmagic.com/showthread.php?t=413326

/cast
/UseAction ()

not working anymore

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests