Sign in to follow this  
Followers 0
continyu

Help for IE Form Action

8 posts in this topic

Hi there,

i want to make some scripting for game called Virtonomics

for first action i want my script automatically log in the site,

i need help for filling forms,

the main page here http://virtonomics.com

Global $o_IE = _IECreate ()
        _IENavigate ($o_IE, "http://virtonomics.com")
        _IELinkClickByText ($o_IE, "LOG IN")

from there can someone give me the code for filling username and password?

thanks from now...

Share this post


Link to post
Share on other sites



Hi there,

i want to make some scripting for game called Virtonomics

for first action i want my script automatically log in the site,

i need help for filling forms,

the main page here http://virtonomics.com

Global $o_IE = _IECreate ()
        _IENavigate ($o_IE, "http://virtonomics.com")
        _IELinkClickByText ($o_IE, "LOG IN")

from there can someone give me the code for filling username and password?

thanks from now...

I hope your trying to make a game bot buddy, Check the sticky above this forum.

But if your just trying to log in.

#include <IE.au3>

$user = "MyUserName"
$pass = "PassWord"
$oIE = _IECreate ("http://virtonomics.com")
_IELoadWait ($oIE)

$uForm = _IEFormGetObjByName ($oIE, "FormName") ; Name or overall form in html
$uText = _IEFormElementGetObjByName ($uForm, "UserBox"); Name of username box within form
_IEFormElementSetValue ($uText,$user)

$pText = _IEFormElementGetObjByName ($uForm, "PassBox"); Name of password box within form
_IEFormElementSetValue ($pText,$pass)
_IEFormSubmit ($uForm)

[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

well thank you, but how can i find forms and boxes names?

is there a program or something?

i'm not trying to make a bot for entire game, but some little automations...

here is the page HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Virtonomics :: Best of business games online! Free browser strategy, economic simulation. Multiplayer online business game with the opportunity to make money! Be a Tycoon.</title>
<link href="/css/first.css" rel="stylesheet" type="text/css" />
<link href="/css/en/first.css?v=2" rel="stylesheet" type="text/css" />
<link href="/css/pgbtn.css?v=1" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/color.js"></script>
<script type="text/javascript" src="/js/pgbtn.js?v=1"></script>
<script type="text/javascript" src="/js/first.js"></script>
</head>
<!-- Основное содержание -->
<body>
 
 
<div class="banner1000">
    </div>
 
    <div id="res"> 
            <div id="header">
            <a id="logo" href="/" title="MMORPG, best free online economic game. Browser-based business simulation.">Virtonomics</a>
            <a id="znak" href="/" title="MMORPG, best free online economic game. Browser-based business simulation.">Virtonomics</a>
 
                            
            <a onclick="return false;" href="http://virtonomics.com/mary/main/user/logout" id="login" title="Log in">Log in</a>
            <a onclick="return false;" href="http://virtonomics.com/#signup" id="reggi" title="MMORPG, best free online economic game. Browser-based business simulation.">Sign up</a>
 
            <div id="b1">MMORPG, best free online economic game. Browser-based business simulation.</div>
            
        <div class="relams">
    <span class="combobox"><a class="lang" style="background-image: url(/img/country/flags/en.gif);" rel="realmlang" href="#realmselect">English</a></span>
    </div>
    
    <div id="realmlang" class="realmselect">
        <a style="background-image: url(/img/country/flags/ru.gif);" href="http://virtonomics.com/mary/main/common/util/setlang/ru">Русский</a>
        <a style="background-image: url(/img/country/flags/en.gif);" href="http://virtonomics.com/mary/main/common/util/setlang/en">English</a>
        <a style="background-image: url(/img/country/flags/cn.gif);" href="http://virtonomics.com/mary/main/common/util/setlang/cn">中文</a>
        <a style="background-image: url(/img/country/flags/fr.gif);" href="http://virtonomics.com/mary/main/common/util/setlang/fr">Français</a>
        <a style="background-image: url(/img/country/flags/es.gif);" href="http://virtonomics.com/mary/main/common/util/setlang/es">Español</a>
        <a style="background-image: url(/img/country/flags/de.gif);" href="http://virtonomics.com/mary/main/common/util/setlang/de">Deutsch</a>
        </div>
<div id="menu">
                                <a href="http://virtonomics.com/about/" class="v3" title="About">About</a>
                <a href="http://virtonomics.com/mary/forum/forumcategory/list" class="v3" title="Forum">Forum</a>
                <a href="http://virtonomics.com/partnership/" class="v1" title="Partnership">Partnership</a>
                <a href="http://virtonomics.com/advertising/" class="v4" title="Advertising">Advertising</a>
            </div>
            <div id="reg"></div>
            <span id="stat">and become one of <strong>678964</strong> players</span>
            <span id="ili">or</span>
            <div id="glow"></div>
 
        </div>
    <div id="prb">
    <div id="pr">
                
                <div id="ref"></div>
                <div id="box0" >
        
                <div id="top2"> <img src="/img/first/close.gif" class="close" alt="" />
                                    <form method="post" action="http://virtonomics.com/mary/main/user/selfreg">
                                    <h2 class="formHeader" id="registerHeader">New user registration</h2>
                                    <span class="mustall">All fields are required</span>
                                    <div id="nuuser" class="inp">
                                        <label for="nu1">Login</label>
                                        <a href="#checklogin" class="checkme">check</a>
                                        <input tabindex="1" type="text" name="userData[login]" value="" maxlength="20" id="nu1" style="background-position: 0 0" />
                                        <div class="msg">
                                            <span msg="-1" class="def">Login is ypur unique name in the game. You won’t be able to change it!</span>
                                            <span msg="0">"Virtonomics" salutes you, <strong></strong>!</span>
                                            <span msg="2">Login must be composed of letters, digits and signs "-", "." and "_". It must be at least 4 characters long, but not longer than 20 characters</span>
                                            <span msg="3"><strong></strong> is already registered, sorry...</span>
                                        </div>
                                    </div>
                                    <div id="nupass" class="inp">
                                        <label for="nu2" id="password_match">Password</label>
                                        <label for="nu2" id="password_dont_match" style="display: none;">Entered passwords do not match</label>
                                        <input  type="password" name="userData[password]" value="" id="nu2" style="background-position: 0 0" tabindex="2" />
                                    </div>
                                    <div id="nurepass" class="inp">
                                        <label for="nu3">once again</label>
                                        <input type="password" name="userData[password_again]" value="" id="nu3" style="background-position: 0 0" tabindex="3" />
                                    </div>
                                    <div id="numail" class="inp">
                                        <label for="nu4">E-mail</label>
                                        <a href="#checklogin" class="checkme">check</a>
                                        <input type="text" name="userData[email]" value="" id="nu4" style="background-position: 0 0" tabindex="4" />
                                        <div class="msg">
                                            <span msg="-1" class="def">Your registration data will be sent to this e-mail</span>
<span msg="0">Conformation of registration will be sent on <strong></strong></span>
<span msg="2">Wrong e-mail</span>
<span msg="3">This e-mail is already registered</span>                                      </div>
                                    </div>
                                    <div id="subc" class="ag"></div>
                                    <div id="ag" class="ag">
                                            <input tabindex="6" type="checkbox" value="1" id="agree" name="agreeFlag"/> 
                                            <label for="agree">I accept</label>
<a onclick="return doWindow(this.href);" href="http://virtonomics.com/mary/window/common/main_page/ofert">user agreement</a>
<label for="agree">and</label>
<a onclick="return doWindow(this.href);" href="http://virtonomics.com/mary/window/law/main_law">game rules</a>                                  </div>
                                    <div id="capcha" class="inp">
                                    <a href="#" class="refresh" id="updateCaptchaLink">refresh</a>
                                        <a href="#" id="updateCaptcha" title="Click to refresh captcha"><img src="http://virtonomics.com/mary/imgCode/" alt="Enter the code from the picture" /></a>
                                        <label for="nu5">Enter the code from the picture</label>
                                        <input tabindex="5" type="text" name="regCode" maxlength="5" size="6" value="" id="nu5" style="background-position: 0 0" />
                                    </div>
                                    <button tabindex="7" id="goreg" type="submit" >Sign up</button>
                                    <input type="hidden" value="en" name="userData[lang]"/>
                                    <input type="hidden" value="" name="fu"/>
                                </form>
                                
                                                                
                        <div class="tabs-l">
                            <a class="tab fb-icon" title="Log in as user Facebook" href="http://virtonomics.com/facebook"></a>
                            <a class="tab tw-icon" title="Log in as user Twitter" href="http://virtonomics.com/twitter"></a>
                            <a class="tab ms-icon" title="Log in as user MySpace" href="http://virtonomics.com/myspace"></a>
                            <!-- <a class="tab gg-icon" title="Log in as user Google" href="http://virtonomics.com/google"></a> -->
                            <a class="tab virta-icon active"></a>
                        </div>
                </div>
 
                </div>
                <div id="box1">
                    <div id="back2">
                        <ul class="tabs-l">
                            <li class="back-l"></li>
                            <li class="border-l"></li>
                            <li class="tab fb-icon"></li>
                            <li class="tab tw-icon"></li>
                            <li class="tab ms-icon"></li>
                            <!-- <li class="tab gg-icon"></li> -->
                            
                            <li class="tab virta-icon active"></li>
                        </ul>
                    </div>
                </div>
    </div>
    </div>
    
            <div id="top0">
                        <h1 style="backgroud: rgb(255,0,0);">START YOUR BUSINESS NOW!</h1>
                        <!--<a onclick="return false;" class="reggo" href=""></a>-->
                        
                        <div class="text1 textback"></div>
                        <div class="text2 textback"></div>
                        
                        <div class="text1 textblock">
                            <h2>Online economic game</h2>
                            <p>Do you like online business games? Start your own small business and continue by developing it into an international corporation. Trade, production, technologies, mining, marketing, HR, finance. All management aspects. Be tycoon online!</p>
                        </div>
                                                
                        <div class="text2 textblock">
                            <h2>Make real money</h2>
                            <p>Do you like Monopoly online or books of Kiosaki? You dont have a rich daddy? Best strategy business game online which allows you to learn the basics of management as well as earn quite a large amount of real money. Build your virtual business, defeat your competition and earn real money online!</p>
                        </div>
                        
                        
                        <div class="banner240">
                            <!--/* OpenX Javascript Tag v2.8.0 */-->
<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://ox.virtonomica.ru/delivery/ajs.php':'http://ox.virtonomica.ru/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=19&amp;target=_blank&amp;charset=UTF-8");
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write ('&amp;charset=UTF-8');
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script>
<noscript>
<a href='http://ox.virtonomica.ru/delivery/ck.php?n=ae3966ad&amp;cb=633' target='_blank'>
<img src='http://ox.virtonomica.ru/delivery/avw.php?zoneid=19&amp;charset=UTF-8&amp;cb=271&amp;n=ae3966ad' border='0' alt='' /></a>
</noscript>                     </div>                  
            </div>
            <div id="top1">
            <img src="/img/first/close.gif" class="close" alt="" />
                <form method="post" action="http://virtonomics.com/mary/main/user/login">
                    <h2 class="formHeader">Welcome,</h2>
                    <div id="user" class="inp">
                        <label for="username" id="ul">User</label>
                        <input type="text" name="userData[login]" value="" id="username" tabindex="11" />
                    </div>
                    <div id="pass" class="inp">
                        <label for="userpass" id="up">Password</label>
                        <input type="password" name="userData[password]" value="" id="userpass"  tabindex="12" />
                    </div>
                    <div id="perm">
                        <input type="checkbox" name="permanent" id="permanent" value="" tabindex="13" />
                        <label for="permanent">Remember me</label>
                    </div>
                    <a id="forgot" href="http://virtonomics.com/mary/main/user/restorepassword">Forgot password?</a>
                    <button tabindex="14" id="gogo" type="submit">Log in</button>
                </form>
                
                    <ul class="tabs-l">
                        <li class="back-l"></li>
                        <li class="border-l"></li>
                            <li class="tab fb-icon"><a class="tab fb-icon" title="Log in as user Facebook" href="http://virtonomics.com/facebook"></a></li>
                            <li class="tab tw-icon"><a class="tab tw-icon" title="Log in as user Twitter" href="http://virtonomics.com/twitter"></a></li>
                            <li class="tab ms-icon"><a class="tab ms-icon" title="Log in as user MySpace" href="http://virtonomics.com/myspace"></a></li>
                            <!-- <li class="tab gg-icon"><a class="tab gg-icon" title="Log in as user Google" href="http://virtonomics.com/google"></a></li> -->
                            
                            <li class="tab virta-icon active"><a class="tab virta-icon active"></a></li>
                    </ul>
                
                    
            </div>
            
            <div class="spacer"></div>
            <div id="content">
 
        
            <div class="b4 relative1">
                <div class="item">
                    <span class="h1">Today’s winners are:</span>
                    <marquee behavior="scroll" style="font-size: 15px;display:block; clear:none; float: auto; height: 20px;" class="rounded" direction="left" bgcolor="#656668" vspace="5">
                        DarkAmall - 200 virt; LelikBest - 5 virt; rhpro - 3 virt; virtavit - 3 virt; Ifikl - 2 virt; itsec - 1 virt; Nysof - 1 virt; Tiger - 3 virt; greymax - 5 virt; w_Switch_w - 3 virt; sow2907 - 15 virt; ABABAB123 - 1 virt; Mouse_clon - 1 virt; Shuttle - 2 virt; VirtoBot - 1 virt; Jenk - 1 virt; cicoz1974 - 3 virt; Nick2010 - 36 virt; Shoot_nik - 3 virt; Ryazan - 11 virt; Konon - 5 virt; Muratt - 16 virt; vic2354 - 10 virt; sasys - 1 virt; Monkk - 3 virt; FTSE - 1 virt; moncha - 3 virt; tancor83 - 5 virt; ole810 - 5 virt; MaHapXuyc - 4 virt; hwonk - 1 virt; Kormilets - 10 virt; SLAVK555 - 10 virt; cygnus - 2 virt; hel12 - 1 virt; janie - 1 virt; Marcsist - 3 virt; Albitov - 3 virt; mitsofos - 5 virt; Lilita_Lilita - 5 virt; alexmely777 - 3 virt; chudilos - 10 virt; Ksar - 20 virt; levjxrf - 1 virt; REA_tech - 1 virt; arteg - 4 virt; Packard - 1 virt; begbane - 3 virt; Deira - 8 virt; light76212001 - 10 virt; AlexScorpion - 18 virt; ArmanMar - 9 virt; VladTechs - 18 virt;                    </marquee>
                    Today competed for: <strong>494</strong> virt<br />
                    Number of winners: <strong>68</strong><br />
                    Maximum prize: <strong>200</strong> virt<br />
                    &nbsp;&nbsp;Contests <strong>16</strong> virt<br />
                                           &nbsp;&nbsp;Lotteries <strong>200</strong> virt                                      <br /><br />
                                                                                                1. DarkAmall                            <strong>200</strong> virt<br />
                                                                                                        2. Nick2010                             <strong>36</strong> virt<br />
                                                                                                        3. Ksar                             <strong>20</strong> virt<br />
                                                                                                        4. AlexScorpion                             <strong>18</strong> virt<br />
                                                                                                        5. VladTechs                            <strong>18</strong> virt<br />
                                                                        
                    <br /><a href="http://virtonomics.com/mary/main/common/main_page/income/winners/">Full list of winners</a>
                </div>
                <div class="item"><span class="h1">Top by earnings:</span>
                    Credited in total: <strong>89189</strong> virt<br />
                    Owners of VIRTs: <strong>1532</strong><br /><br />
                                                                            
                            1. vic2354  
                            <strong>3000.0</strong> virt<br />
                                                                                    
                            2. hwonk  
                            <strong>2542.2</strong> virt<br />
                                                                                    
                            3. Nick2010  
                            <strong>2257.0</strong> virt<br />
                                                                                    
                            4. sow2907  
                            <strong>2248.0</strong> virt<br />
                                                                                    
                            5. MaHapXuyc  
                            <strong>1651.0</strong> virt<br />
                                                                                    
                            6. the_thief_in_the_law  
                            <strong>1601.0</strong> virt<br />
                                                                                    
                            7. Muratt  
                            <strong>1500.0</strong> virt<br />
                                                                                    
                            8. Liberty_Inc  
                            <strong>1398.0</strong> virt<br />
                                                                                    
                            9. Dgegan  
                            <strong>1201.0</strong> virt<br />
                                                                                    
                            10. chudilos  
                            <strong>1192.2</strong> virt<br />
                                                                        <br />Exchange rate: 1 VIRT = $1<br /> You can convert VIRTs <a href="http://virtonomics.com/mary/main/common/main_page/income/">here</a>                   
                </div>
                
                                
                <br class="cb" />
                <b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b>
                
            </div>
 
            
<div id="share">Join Virtonomics<a class="ir fb" href="http://www.facebook.com/group.php?gid=91230830985" target="_blank">Facebook</a> • <a class="ir tw" href="http://twitter.com/virtonomics" target="_blank">Twitter</a></div>         
                
            <!--<div class="b3">
                                                </div>-->
            
            <h2 class="header2">Best serious game! New business game - Virtonomics</h2>
            <div id="faq" class="relative1">
                
                
                <div id="faq_quest"><a href="#">What can I do in the game?</a>
<a href="#">How to start playing?</a>
<a href="#">Is the game complicated?</a>
<a href="#">Who can I contact for help?</a>
<a href="#">Is this a paid game?</a>
<a href="#">How can I earn real money in the game?</a></div>
                                
                <div class="answers_container">
                    <div id="faq_answer">
                    <div><span>
<p>Why play Virtonomics is up to you. We just say that this <strong>new free online game</strong> allows you to have fun by playing it and by the desire to achieve some significant successes, learning to manage virtual business. You can just enjoy playing a unique economic game, study the basics of business management, enjoy new acquaintances with other players, many of whom are talented specialists, managers and businessmen in real life. There is also an opportunity to make real money in the online strategy. In Virtonomics every person finds what he/she needs, that is why it is so unique.</p>
 
<p>The main goal in the browser game Virtonomics is <a href="http://virtonomics.com/mary/main/common/main_page/game_info/game_map">to create a successful business</a>. You can do trading <a href="http://virtonomics.com/mary/main/common/main_page/game_info/trading">trading</a>, <a href="http://virtonomics.com/mary/main/common/main_page/game_info/industry">production</a>, <a href="http://virtonomics.com/mary/main/industry/unit_type/info/2203">science research</a>, mining, agriculture, trade on foreign exchange market, manage personnel, finances, marketing, advertising, logistics and other business processes.</p>
 
<p>You probably wanted to be an tycoon, to try to manage your corporation, to buy or sell a business, to hire and train personnel, to arrange sales and supplies, to keep track of your competitors actions, to improve the quality of your goods, to promote your brands, to take part in auctions and much more. This Virtonomics - the game of the new generation, is the best of educational games.</p>
</span></div>
 
<div><span>
<p>At the beginning we recommend you to get acquainted with <a href="http://virtonomics.com/mary/main/common/main_page/about">the introductory information on the game</a>. After that you have to go through the registration procedure and that’s it! To play Virtonomics <strong>browser online game</strong>, you just need a web connection and a browser (you already have one).</p>
</span></div>
 
<div><span>
<p>Virtonomics is a new word in such games and an economic strategy intended for entertainment. Players do not have to have deep understanding of economy and any kind of special education to take part in the game. At the same time, Virtonomics, which any other economic games do not give, allows you to study many aspects of business management as well as make real money in the process of playing. What else online games, which allow to earn real money quite legally, do you know?</p>
</span></div>
 
<div><span>
<p>Playing in real time - quickly and easily, especially Virtonomics! You can find detailed answers to your questions and learn many useful things in <a href="http://wiki.virtonomics.com/">Wiki Help</a> (browser online games is nice because all the information here at your fingertips!). In addition, Virtonomics, like all these games, strong in its <a href="http://virtonomics.com/mary/forum/forumcategory/list">Forum</a>. You can also contact our <a href="http://virtonomics.com/mary/forum/common/mailform">Support team</a>, and they will make sure that your problems and doubts are solved!</p>
</span></div>
 
<div><span>
<p>You can play Virtonomics for free for an unlimited period of time. The game is free and available for everyone. Besides, you can earn large amounts of real money while you play - the game offers many opportunities for doing this.</p>
 
<p>For those who like everything exclusive and equal game opportunities there is a separate game world functioning according to the principles of a subscription model (subscriber fee). If you wish, you can buy additional game services for really small prices. These services are not obligatory, but they can add some dynamics and depth to the game and make it even more interesting.</p>
</span></div>
 
<div><span>
<p>By playing Virtonomics you can regularly earn rather large amounts of real money - up to thousands of dollars. For this purpose there are many opportunities in our online strategy, and the range of these opportunities keeps constantly growing. These are regular contests in the game, special campaigns, game tenders, a unique referral program, and prizes for most successful players. Every day hundreds of people earn real money in Virtonomics.</p>
 
<p>You might ask where the money comes from. First of all, we want our new online game to be popular and believe that the best way to promote our game is advertising of it by players themselves, when they talk about it to each other. For this reason we have decided to spend the most part of our budget for advertising on our players, who really loves living strategy games,  rather than on advertising agents. Secondly, we have decided to give to our players a part of the income we get from the advertising in the game: the more players there are in the game, the more advertisers we have and the higher is your and our income. Play and make business with Virtonomics!</p>
</span></div>                   </div>
                </div>
                
                <div class="currenter"></div>
                
                <b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b>
            </div>
            <div class="b4 relative1">
                <div class="item">Virtonomics is an unique economic online game which functions according to the laws of real life. They say that Virtonomics is a "browser game that stands out among others. It is unique in its kind". Virtonomics is versatile - it combines logical and business gaming, real economic simulation and interesting online strategy game. This is a game where player’s knowledges and efforts are the source of real income.</div>
 
<div class="item">Playing Virtonomics can be absolutely free. Virtonomics reflects a wild range of interests. It is for anyone who understands the laws of real life and is interested in economy, business, management and finance, anyone who enjoys playing online computer games, meeting interesting people and making useful connections.</div>
 
<div class="item">By playing the Virtonomics multiplayer online game you will enjoy a real economic strategy and a truly interesting logical browser game! And, most importantly, you will have the chance to simultaneously enjoy the game, study management and make real money in the process of playing.</div>              <br class="cb"/>
                <b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b>
            </div>
        </div>
<!-- // Основное содержание -->
 
                        </div>
                        <div id="footer">
                <div id="footlogo"><a href="/"><img src="/img/en/logo4.gif" border="0" alt="Virtonomics online game"/></a></div>
 
                <div id="footbanner">
                                <br /><br />
                <div class="infoBlock" style="position:absolute;left:-2500px;top:-2500px;">
 
<!--LiveInternet counter -->
<script type="text/javascript"> 
 
document.write('<a href="http://www.liveinternet.ru/click" '+ 'target=_blank><img src="http://counter.yadro.ru/hit?t52.1;r'+
escape(document.referrer)+((typeof(screen)=='undefined')?'':
';s'+screen.width+''+screen.height+''+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+';u'+escape(document.URL)+
';'+Math.random()+
'" alt="" title="LiveInternet" '+
'border=0 width=88 height=31><\/a>');
 
</script>
<!--/LiveInternet-->
 
 
<script type="text/javascript"> 
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript"> 
var pageTracker = _gat._getTracker("UA-8805832-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
 
 
</div>
 
<br style="clear:both;"/>
                </div>
 
            <div id="copyright"><a href="http://virtonomics.com/mary/main/common/mailform" title="Feedback">Feedback</a><a href="http://virtonomics.com/advertising/" title="Advertising">Advertising</a><a href="http://virtonomics.com/about/" title="About">About</a><a href="http://virtonomics.com/partnership/" title="Partnership">Partnership</a></div>
            </div>   <!--// end footer-->
                                    </div>   <!--// end wrapper-->
        <div id="secretZone"></div>
    </body>
</html>

Share this post


Link to post
Share on other sites

With firefox you can get the Web Developer Extension. Then simple do Forms > View Form Information . Shows all the forms and elements including ids, names, and what not.

Share this post


Link to post
Share on other sites

Sorry, i'm bothering you...

But i can't find the overall form name, at this page http://virtonomics.com also

the firefox developer tool should i use the input name? or input id?

i need 2 answers what is the form name? and which name i need to use for inputs id or name?

thank you very much...

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

That is because the login does ajax request to get the login page, but you can just use

http://virtonomics.com/mary/main/user/login

But in using IE Form functions you can use the name or just the index.

Such as _IEFormGetObjByName which uses the name, or _IEFormGetCollection which use a 0 based index. So the first form on the page would be 0, the second would be 1, the third would be 2, so on and so forth.

This works the same way with elements.

EDIT: Plus I will only help you with the login, and not any automation of the game as I'm sure it is against game rules!!

Edited by Thatsgreat2345

Share this post


Link to post
Share on other sites

Sorry, i'm bothering you...

But i can't find the overall form name, at this page http://virtonomics.com also

the firefox developer tool should i use the input name? or input id?

i need 2 answers what is the form name? and which name i need to use for inputs id or name?

thank you very much...

Also what you can do is go to the page and hit view source then skim through until you find the form you need. :mellow:


[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

Thank you all, for your help... I've completed my script...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0