I am trying to do what the original poster is doing from here. But I am wondering how I would use 39dll or SOC to do the same thing but send form information. Like if I was going to login at some forum or a website or something then check messages and save them to a text file. All I need to know is how to send form information to a website and receive their output based on my form information.
So, to recap, an example in steps:
1) Connect to website using dll
2) Send form information to the website
3) Receive their output and extract some specific information
4) Send more information based on what page I want to view next
5) Receive the page information I wanted to receive
6) Repeat 4 & 5 and eventually disconnect from the server
Please include information about all of these steps if you can. I only really need to know about how to do steps 1-5. 6 is simple.
I'm not looking for anyone to write me the entire program, I just want examples of how to do each part little by little unless you feel like writing an example with all of that. That would be nice.
Please do not spam, only post if you have a question about this or some helpful information for me.
- Game Maker Community
- → Viewing Profile: Topics: NTARelix
NTARelix
Member Since 15 Mar 2007Offline Last Active Oct 20 2008 02:40 AM
Community Stats
- Group New Member
- Active Posts 6
- Profile Views 337
- Member Title GMC Member
- Age 21 years old
- Birthday December 4, 1991
-
Gender
Not Telling
0
none
Topics I've Started
Opening A Website - 2
26 May 2008 - 05:14 AM
Communicating With A Website Using Soc
02 October 2007 - 12:36 AM
I was wondering if anyone could thoroughly explain how exactly I would go about doing this. What I am trying to do is make GM connect to a website using IP/TCP with SOC and make it send my account information to the website. So basically I would just need an explanation of how to figure out what I need to send based on the website and an example with forms and all that good stuff. I guess you could just say that I need a browser that does what I want it to do and doesn't show a GUI of anything from the website. If anyone could do this, I would greatly appreciate it. I'm not going to be making this to release among the forums so no credit will be needed unless you really want me to add you in some sort of credits.
Post any comments or questions you have about what I'm asking for, but only if you are willing to help me with this. I have searched the forums and haven't found anything like this. There was one script that came with SOC that connected to a website that displays your IP address but I just don't understand how that works. It is not commented very well and the page only shows your IP address. No images or other text or anything. It's just too basic.
Thanks for reading.
Post any comments or questions you have about what I'm asking for, but only if you are willing to help me with this. I have searched the forums and haven't found anything like this. There was one script that came with SOC that connected to a website that displays your IP address but I just don't understand how that works. It is not commented very well and the page only shows your IP address. No images or other text or anything. It's just too basic.
Thanks for reading.
A Few Small Math Scripts
21 March 2007 - 10:18 PM
pythagorian_theorem( a , b ) returns c (only works with right angles)
point_distance_2d(x1,y1,x2,y2) returns 2d distance
point_distance_3d(x1,y1,z1,x2,y2,z2) returns 3d distance
i just made these because that the last time i was working on a 3d game, i was wondering how to do 3d distance and i was making everything all complicated and stuff but its really not that hard. ill try to make a picture that demonstrates exactly how all of it works if some of you do not get it... pythagorian theorum and point distance 2d pretty much the same thing but its just two different ways to go about finding the distance between two 2d points. although pyth thor has less arguments, it needs you to have the distance of two parts already so i couldnt say which one is better or anything and that is why i made them both. i give permission for everyone to use these and not have to give me any credit if you dont want to.
EDIT: ty for the spelling correction and "var" tip! btw, "pyth" and "pt dist" do different things. pt_dist_2d gets x and y values for 2 different points, finds the distance between the two x's and y's and uses the pythagorian theorum formula to find the distance while pth_theor gets 2 lengths, meaning u already have a variable or something with the length and it just uses pythagorian theorum formula on them to get the distance. so the pythagorian theorem is used for distance when u know the length between the x's and y's already and pt_dist_2d is if you only know the points at which you want to find the distance between. like i mentioned above, they are pretty much the same thing, but there are differences...
var a, b ,c; a=argument0; b=argument1; c=sqrt(sqr(a)+sqr(b)); return c;
point_distance_2d(x1,y1,x2,y2) returns 2d distance
var x1, y1, x2, y2; x1=argument0; y1=argument1; x2=argument2; y2=argument3; return sqrt(sqr(x1-x2)+sqr(y1-y2));
point_distance_3d(x1,y1,z1,x2,y2,z2) returns 3d distance
var x1, y1, z1, x2, y2, z2, a, b, c; x1=argument0; y1=argument1; z1=argument2; x2=argument3; y2=argument4; z2=argument5; a=point_distance_2d(x1,y1,x2,y2); b=abs(z1-z2); c=pythagorian_theorem(a,b); return c;
i just made these because that the last time i was working on a 3d game, i was wondering how to do 3d distance and i was making everything all complicated and stuff but its really not that hard. ill try to make a picture that demonstrates exactly how all of it works if some of you do not get it... pythagorian theorum and point distance 2d pretty much the same thing but its just two different ways to go about finding the distance between two 2d points. although pyth thor has less arguments, it needs you to have the distance of two parts already so i couldnt say which one is better or anything and that is why i made them both. i give permission for everyone to use these and not have to give me any credit if you dont want to.
EDIT: ty for the spelling correction and "var" tip! btw, "pyth" and "pt dist" do different things. pt_dist_2d gets x and y values for 2 different points, finds the distance between the two x's and y's and uses the pythagorian theorum formula to find the distance while pth_theor gets 2 lengths, meaning u already have a variable or something with the length and it just uses pythagorian theorum formula on them to get the distance. so the pythagorian theorem is used for distance when u know the length between the x's and y's already and pt_dist_2d is if you only know the points at which you want to find the distance between. like i mentioned above, they are pretty much the same thing, but there are differences...
- Game Maker Community
- → Viewing Profile: Topics: NTARelix
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content