BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
VB IndexOf Xth Value Empty4/7/2024, 2:34 pm by SnB@BWH

» Bully Made It Into a BIG Video 400K Views
VB IndexOf Xth Value Empty4/7/2024, 6:58 am by Bully@WiiPlaza

» Wii Play Tanks
VB IndexOf Xth Value Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
VB IndexOf Xth Value Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
VB IndexOf Xth Value Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
VB IndexOf Xth Value Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
VB IndexOf Xth Value Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
VB IndexOf Xth Value Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
VB IndexOf Xth Value Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
VB IndexOf Xth Value Empty2/21/2024, 8:52 am by naxil

Search
 
 

Display results as :
 


Rechercher Advanced Search

April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

VB IndexOf Xth Value

5 posters

Go down  Message [Page 1 of 1]

1Question VB IndexOf Xth Value 6/14/2013, 8:07 am

Hack4Fun

Hack4Fun

Hey everybody. Maybe someone of you knows about Visual Basic? I'm working with VB 2010 and I've a little problem in one of my functions. I'm going to make an porting program for codes^^
Here is my function which finds the Xth Value in one ram dump.
Code:

 Function IndexOfXthContent(ByVal Target As String, ByVal Content As String, Optional ByVal n As Integer = 1) As Integer
        Dim Offset = -1, Idx = 0
        For i = 1 To n
            Offset = Target.IndexOf(Content, Idx)
            If Offset >= 0 Then Idx = Offset + Content.Length Else Exit For
        Next
        Return Offset
    End Function

Most of time it works but sometimes I didn't get any result (It looks like there is no value in the ram dump o.O). All of my other functions work perfectly so that I can find the position and the number of values in one ram dump. But as you may know I have to search for it in another ram dump, too Razz.

Maybe someone have an idea?


_________________
CodeLabs Programing, Webdesigning and more!

2Question Re: VB IndexOf Xth Value 6/14/2013, 9:27 am

CH90

CH90
Expert 3D Animator
Expert 3D Animator

WOW! so you just will need the two RAM Dups to port codes from any game??affraid


_________________
VB IndexOf Xth Value Ch90sonicsign

3Question Re: VB IndexOf Xth Value 6/14/2013, 9:39 pm

Bully@WiiPlaza

Bully@WiiPlaza
 
 

Yes.
You need the code from some region aswell as the ram dump from the source and destination region.


_________________
VB IndexOf Xth Value YBjg74I

4Question Re: VB IndexOf Xth Value 6/16/2013, 5:49 am

Hack4Fun

Hack4Fun

The problem is now solved :DI'm glad to tell you that I'm almost finished with the program because it converts every code correctly. Btw Bully, I think some ported codes(only from shitnbitch are not right).


_________________
CodeLabs Programing, Webdesigning and more!

5Question Re: VB IndexOf Xth Value 6/16/2013, 6:06 am

CH90

CH90
Expert 3D Animator
Expert 3D Animator

awesome news hack! you're great man! I'm definitely going to love this program if you release it Razz


_________________
VB IndexOf Xth Value Ch90sonicsign

6Question Re: VB IndexOf Xth Value 6/16/2013, 6:14 am

TheDetonator

TheDetonator
Trusted Member
Trusted Member

I would love to see the program being released.

7Question Re: VB IndexOf Xth Value 6/16/2013, 6:18 am

juan112

juan112
Trusted Member
Trusted Member

yes men this program would be really helpful Cool

8Question Re: VB IndexOf Xth Value 6/16/2013, 7:06 am

Hack4Fun

Hack4Fun

I'll release it, don't worry ^^. I only have to make an function that the program detectes 04 codes in other lines, too. And 05 codes also need an other code. Maybe I'll make an F2 codetype conversion, too. Smile
I think I'll need 1 - 2 month at maximum.


_________________
CodeLabs Programing, Webdesigning and more!

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum