Re: [情報] 牧羊術基礎概念篇

看板TribalWars (Tribal Wars)作者 (D.K.)時間18年前 (2007/05/09 18:48), 編輯推噓5(501)
留言6則, 5人參與, 最新討論串2/5 (看更多)
我試出來了..XD 所以..順便講解一下..把需要改的地方講解一下.. <td> <form action="http://tw6new.tribalwars.net/ <== 這個要改成你玩的世界 game.php?village=65735 <== 改成你的 village &amp;screen=place&amp;action=command&amp;h=9910" <== 比較難的是這個 h 我用 firefox 在送出攻擊按 ok 那按右鍵選本頁框-> 檢視頁框原始碼,然後搜尋 一下 h= 第二個找到的就是了 method="post" target="2" onSubmit="this.submit.disabled=true;"> <span class="style1">quintrells(549,757) </span> <input type="hidden" name="attack" value="true"> <input type="hidden" name="x" value="549"> <== 羊家的 x 座標 <input type="hidden" name="y" value="757"> <== 羊家的 y 座標 <input type="hidden" name="light" value="11"> <== 牧羊軍 </select> <input name="submit" type="submit" style="font-size: 10pt;" value="OK" > </form> </td> 就這樣啦..感謝 w 大,這樣子簡單多了,唯一不知道怎麼解決的是 按下 ok 會開新視窗..XD..我再研究一下囉.. 整個網頁完成後..以後只要改 h= 那邊就行了.. 用文字編輯器的搜尋、取代功能,一次全部改掉就行了。 -- If I wake up at a different time, in a different place, http://ssdkchang.blogspot.com could I wake up as a different person? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.231.76.96

05/09 19:13, , 1F
不錯的概念~ 我試試把它寫成php加個欄位可以填那項H的部份
05/09 19:13, 1F

05/09 19:14, , 2F
另外剛剛想到:這樣的話就可用DB來管理羊的位置了...
05/09 19:14, 2F

05/09 19:19, , 3F
<--一直在等正式版教學中...XDDD
05/09 19:19, 3F

05/09 19:24, , 4F
好棒阿.等待正式版的一天.不然我都已經懶得牧羊了QQ
05/09 19:24, 4F

05/09 20:32, , 5F
對阿..到一個階段以後就開始懶的牧羊了QQ
05/09 20:32, 5F

05/09 23:00, , 6F
這東西在前兩三個禮拜還是很有用的= =
05/09 23:00, 6F
文章代碼(AID): #16GQRujf (TribalWars)
文章代碼(AID): #16GQRujf (TribalWars)