| View previous topic :: View next topic |
| Author |
Message |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 606
|
Posted: Sun Apr 09, 2017 5:30 pm Post subject: |
|
|
| Dark Byte wrote: | what ce version do you use ?
Do you have code with createNativeThread running in your ce in the background ?
do you use special characters in your descriptions ? |
6.3
Not to my knowledge
Other than ?, --, >,=,# nothing that I would call special. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25973 Location: The netherlands
|
Posted: Sun Apr 09, 2017 5:37 pm Post subject: |
|
|
I don't even have a download for 6.3 anymore
and yeah, it's quite possible that it may have a bug.
perhaps I named it 'description' instead of 'Description' (6.3 may not be case insensitive on the first char like the newer ones)
or just a typo (e.g I often type descrption/descrition by accident) _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 606
|
Posted: Sun Apr 09, 2017 8:12 pm Post subject: |
|
|
| I downloaded 6.4 or 6.5 a year or so ago, maybe longer and opened up a few tables and none of my codes worked. So my reasoning was start from scratch learning the new way of coding or continue with 6.3 that worked. I chose the easier path. |
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 223
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
|
| Back to top |
|
 |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 606
|
Posted: Wed Apr 12, 2017 4:25 pm Post subject: |
|
|
| Dark Byte wrote: | off-topic, but just to let other people know who stumble upon this topic
| Code: |
tonumber(memoryrecord_getValue(addresslist_getMemoryRecord(al,x)))
|
can be rewritten to
| Code: |
tonumber(al[x].Value)
|
|
Following this then would setting the value be | Code: | | tonumber(al[x].Value) = some number |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25973 Location: The netherlands
|
Posted: Wed Apr 12, 2017 11:36 pm Post subject: |
|
|
just al[x].Value=somenumber _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
bknight2602 Grandmaster Cheater
Reputation: 0
Joined: 08 Oct 2012 Posts: 606
|
Posted: Sat Apr 15, 2017 8:08 am Post subject: |
|
|
Carrying on with this train of thought.
| Code: | al = getAddressList()
x=56
y=0
whichRec = al.MemoryRecord[x]
print(whichRec.Address)>>output is 24cd60f
whichForwardRec = tonumber(whichRec.Address) + y>>Error:attempt to perform arithmetic on a nil value. I guess no Mathematics on Properties
whichForwardRec = whichRec.Address
print(whichForwardRec)>> output is 24cd60f
print(tonumber(whichForardRec) + 1)>> Error:attempt to perform arithmetic on a nil value. |
As you can see I first tried to add to a Property, I guess that can't be accomplished.
So I set a variable to the Property and then attempted addition on that variable, still can't perform that addition.
Why does the second addition fail?
How may I obtain "forward addresses" to be used with a writeBytes("forward address", somenumber) |
|
| Back to top |
|
 |
|