Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Webbrowser Problems...
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 18, 2007 10:43 am    Post subject: Webbrowser Problems... Reply with quote

Ok, i know this danish site (arto.dk)

Each user got an ID, this is the link before the id

http://www.arto.dk/brugere/brugerinfo.asp?id=*ID PLACED HERE*

now, i want to be able to use a Search ID at my webbrowser but then i tried something with

procedure TForm2.SpeedButton1Click(Sender: TObject);
var
Base : String;
ID : String;
Begin
Base := 'http://www.arto.dk/brugere/brugerinfo.asp?id=';
ID := Edit1.Text;
arto.Navigate(Base+ID);
end;

Arto is my webbrowsers name. But this doesnt seem to work. Any one know a way to make it work?

Also, you can go on each account by using *ACCOUNT NAME*.arto.dk

My account name is Kev, so i can enter the url : www.kev.arto.dk and it goes directly to my profile.

so i also want a Search by Name function, which searchs kinda like the ID, but with edit.text infront of the url.

exapmle: Whatever-You-Enter-In-The-TextBox.arto.dk

thanks in advance.
Back to top
View user's profile Send private message MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Wed Jul 18, 2007 10:56 am    Post subject: Reply with quote

I don't really understand your question, but I think "lstrcat" is what you are looking for.
_________________
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 18, 2007 11:00 am    Post subject: Reply with quote

I got a profile on this website "Arto.dk"

http://www.arto.dk/brugere/brugerinfo.asp?id=PLACE ID HERE

so if you enter id 203333 it goes to account with the id number 203333.

I want to be able to enter ONLY the id in a edit1 box and then when i hit a button, it loads

http://www.arto.dk/brugere/brugerinfo.asp?id=203333 if 203333 was the number i entered in the edit1 box.

Whats that thing you mentioned?
Back to top
View user's profile Send private message MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Jul 18, 2007 11:09 am    Post subject: Reply with quote

just tack on edit.text like you're doing. if it doesn't work, check what it actually ends up as.
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 18, 2007 11:11 am    Post subject: Reply with quote

I dont get what you mean ... That code i used wont work.

edit: If i enter a valid id, it comes up with the CPU window... but if i enter a not valid id/account deleted or blocked it shows it...


Last edited by Kevin on Wed Jul 18, 2007 11:15 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Wed Jul 18, 2007 11:12 am    Post subject: Reply with quote

http://msdn2.microsoft.com/en-us/library/ms647487.aspx

It takes a string and adds another one.

Here's a code in C, you can convert it to Delphi with no problem(I think)

Code:
char link[1024] = ".arto.dk";
   char username[16];

   printf("Enter the username: ");
   scanf("%s",username);

   lstrcat(username,link);

   printf("%s",username);


The output of the program is:
Enter the username: Kev
Kev.arto.dk

_________________


Last edited by UnLmtD on Wed Jul 18, 2007 11:18 am; edited 1 time in total
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 18, 2007 11:17 am    Post subject: Reply with quote

i have no experience in C or C++, could you convert the code for me ?

edit: this pops-up if i enter a valid ID



cpu.JPG
 Description:
 Filesize:  133.23 KB
 Viewed:  7262 Time(s)

cpu.JPG


Back to top
View user's profile Send private message MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Wed Jul 18, 2007 11:41 am    Post subject: Reply with quote

Sorry, the only time I touched to Delphi is when I had to edit CE. But it should be hard.

Declare 2 variables, for the web site ".arto.dk", and the other for the user name.
Ask the user to input a name, and store it in your buffer.
the lstrcat should be the same I beleive, then in my case "username" holds the final link.

_________________
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 18, 2007 11:47 am    Post subject: Reply with quote

kaspersky told me this

arto.navigate('http://www.arto.dk/brugere/brugerinfo.asp?id=' + edit1.text)

im using that because its a bit more simple. But i still get that CPU error thingy...
Back to top
View user's profile Send private message MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Wed Jul 18, 2007 11:48 am    Post subject: Reply with quote

I would like to mention Renko about this:


procedure button1.click
begin
webbrowser1.navigate('http://www.arto.dk/brugere/brugerinfo.asp?id='+Edit1.text)
end;

thats all Confused

Renko ro.....cks


P.S - LOL! i learned how to glitch in Soldier Front ! Laughing

P.S 2 - LOL!,i got 210k in Rounder Poker @ ijji + Amature Rank Very Happy
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 18, 2007 11:51 am    Post subject: Reply with quote

i saved the project and ran it from the saved file, then it works Smile
Back to top
View user's profile Send private message MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Wed Jul 18, 2007 3:16 pm    Post subject: Reply with quote

i sent the code to you on msn and its better than any of the codes here >.>

i hope you used mine

_________________
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Jul 18, 2007 3:21 pm    Post subject: Reply with quote

I used kaspersky's.

Since it seemed easier to me, and i saw no difrence when compiling.

also i made it all work Smile
Back to top
View user's profile Send private message MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Wed Jul 18, 2007 3:29 pm    Post subject: Reply with quote

say you have 5 things using the str in the form and you use a variable instead of the actual text of the url and you want to change all 5 links at 1 time you can with a variable = more effecient and easy to read

if you use things like that and you get into high level programs and use 'text' like that w/o a string you'll be in trouble

_________________
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Wed Jul 18, 2007 3:52 pm    Post subject: Reply with quote

blankrider wrote:
say you have 5 things using the str in the form and you use a variable instead of the actual text of the url and you want to change all 5 links at 1 time you can with a variable = more effecient and easy to read

if you use things like that and you get into high level programs and use 'text' like that w/o a string you'll be in trouble


That's what I did in my example. And wtf is high level programs?

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites