Searching bug and suggestion.

Find a Bug? Have a Problem? Like to Suggest a Feature? Do it Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Searching bug and suggestion.

Postby high6 » Sat Sep 09, 2006 3:42 am

well first the bug. if you try searching Char(1 byte) and use a non hex or decimal value it will give u an error. now my suggestion is add string searching support and searching for selected and all.(like artmoney has for options.)
high6
Sir Hacks-A-Lot
 
Posts: 34
Joined: Sat Aug 05, 2006 7:06 am

Postby L. Spiro » Sat Sep 09, 2006 11:32 pm

well first the bug. if you try searching Char(1 byte) and use a non hex or decimal value it will give u an error

A char is a number.
Enter the same value as you would for a byte, but negatives are allowed.
The next version will allow entering char values as characters as alternatives.


now my suggestion is add string searching support

It has had string search for years (and unlike ArtMoney you don’t need to pay for it).



and searching for selected and all

What?


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby paul » Wed Sep 13, 2006 10:33 am

L. Spiro wrote:A char is a number.


I thought a char was a character, but since you have to store them in a buffer, the number you searched for was the buffer..
paul
I Have A Few Questions
 
Posts: 2
Joined: Sun Aug 20, 2006 10:15 am

Postby L. Spiro » Wed Sep 13, 2006 11:59 am

Programmatically speaking a char is just a signed byte.
Or rather, a byte is an unsigned char.

So char is just a number like a byte, but can be negative instead.


This was my earliest coding, and back then (6 years ago) I was thinking more in programming terms.



As it is known, I have begun remaking the entire project from scratch and this time through I am basically fixing all the tiniest mistakes I made in the original.
This would be considered one of those tiny mistakes.

The next release will treat the character type as an actual text character, complete with escape sequences for extended characters (for example, “\n” or “\xFF”).



The String Search has been redone as well and also allows escape sequences now, along with the additions of Wildcard and Regular Expression searches, and options such as matching case and whole word only.


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby esco » Sat Sep 30, 2006 4:20 am

I don't know if it's just me but is anyone else having a problem using the sub search option changed by?

example: an enemy has 480 HP... I hit it and it takes 13 damage... so I choose subsearch- change by and it says NO results found... but if I just pick the option for decreased instead, it WILL find it... AND it HAS decreased by 13. VERY WEIRD!!! I figure that this has to be a bug.
Esco.... the name says it all. New Yorikan for life.
User avatar
esco
NULL
 
Posts: 148
Joined: Mon Sep 18, 2006 2:25 am
Location: Florida, a.k.a. the US's version of hell!

Postby L. Spiro » Mon Oct 02, 2006 10:00 am

Did you enter -13?


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby esco » Mon Oct 02, 2006 3:06 pm

L. Spiro wrote:Did you enter -13?


L. Spiro


Honestly no, I figured that it just needed the value amount it had changed by.... I never thought of that... that's a brilliant way to incorporate things... I'm assuming it can also do x and / right (though I don't see how this would be much use, but I'm just curious)? No need to answer, I'll have to try this on my own. Thanks. :D
Esco.... the name says it all. New Yorikan for life.
User avatar
esco
NULL
 
Posts: 148
Joined: Mon Sep 18, 2006 2:25 am
Location: Florida, a.k.a. the US's version of hell!

Postby esco » Wed Oct 04, 2006 12:39 am

Well I tried entering (-)13 under changed by... it doesn't work Spiro... so I'm assuming this has to be a bug right? I even had the value to the left so I could see it changing myself... it still didn't find it.
Esco.... the name says it all. New Yorikan for life.
User avatar
esco
NULL
 
Posts: 148
Joined: Mon Sep 18, 2006 2:25 am
Location: Florida, a.k.a. the US's version of hell!

Postby L. Spiro » Wed Oct 04, 2006 1:16 am

No parentheses.


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby esco » Wed Oct 04, 2006 3:15 am

L. Spiro wrote:No parentheses.


L. Spiro


I didn't use parenthesis... but I saw your other post and from you said it has something to do with the fact that my initial search is in unsigned short (2 bytes) right?
Esco.... the name says it all. New Yorikan for life.
User avatar
esco
NULL
 
Posts: 148
Joined: Mon Sep 18, 2006 2:25 am
Location: Florida, a.k.a. the US's version of hell!

Postby L. Spiro » Wed Oct 04, 2006 4:07 am

It shouldn’t make a difference; it just uses integer overflow to add back into the negatives.

You can try a signed short instead anyway.


L. Spiro
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan


Return to Bugs/Problems/Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests