The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
How to convert games Details »» | |||||||||||||||||||||||||||||||
Here is a small guide on how to convert games for the ibProArcade
Put this code in the first frame Code:
_global.ipb_get_gname = function () { var _loc4 = _root._url; var _loc5 = ""; var _loc2 = ""; var _loc6 = _loc4.lastIndexOf("\\") + 1; if (_loc6 == -1 || _loc6 == 0) { _loc6 = _loc4.lastIndexOf("/") + 1; } // end if var _loc3 = _loc6; var _loc7 = String(_loc4).length; while (_loc3 < String(_loc4).length) { _loc2 = _loc4.charAt(_loc3); if (_loc2 == ".") { break; } // end if _loc5 = _loc5 + _loc2; _loc3++; } // end while return (_loc5); }; ipb_gname = _global.ipb_get_gname(); xx = new LoadVars(); xx.onLoad = function (success) { if (success) { _global.ipb_scoreVar = this.scoreVar; } // end if }; fname = "arcade/gamedata/" + ipb_gname + "/" + ipb_gname + ".txt"; xx.load(fname); make a new symbol with this code and insert it in the whole frame range Code:
if (yy.savescore == 1) { if (ipb_score == undefined) { ipb_score = eval (_global.ipb_scoreVar); } xx = new LoadVars(); xx.arcadegid = _root.ibpro_gameid; xx.gscore = ipb_score; xx.gname = _global.ipb_get_gname(); xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2; xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST"); stop(); } _global.ipbSend = function (ipb_score) { _root._visible = false; _root.enabled = false; xx = new LoadVars(); yy = new LoadVars(); xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST"); }; Code:
_global.ipbSend(); make an empty file called v32game.txt inside that folder make a text file in that folder called gname.txt with this code in it replace gname with the gname of the game replace _root.score with the games scorevar This is how to convert games with the new arcade 2.5.9 and with the ipb 3.3 arcade mod. Credits to stlmike and Cyber for the game coding codes! Next trouble with v32game try a easier type How to convert games for v2games These are pretty easy All you really got to with these is clean the games as in get rid of the unneeded crud and change the button from play again to submit etc. here is the code for submitting games with v2games Code:
on (release) { var gname = "SWF FILE NAME"; var gscore = _root.score; getURL("index.php?act=Arcade&do=newscore", "_self", "POST"); } Auto Submit Code:
gscore = _root.score; gname = "000"; getURL("index.php?act=Arcade&do=newscore", "_self", "POST"); stop(); Code:
_root.score; score; _root.maxScore _root.score.miles; /score:points muestra_piedras scorecounter _parent.totalscore a few tutorials. http://teamwolfpack.org/downloads/IPBAguideV1.3.pdf <- Sothink Quicker Converting http://teamwolfpack.org/downloads/tarcreating.swf - How to create a tar! http://teamwolfpack.org/downloads/movie.swf - Sothink/UAE mix(v2game converting) here is a few games for everyone to use on your forum and look at Best converting tool to use would be URL Action Editor, Action Script Replacer and Sothink Quicker(for buttons) Also when adding a v32game to your arcade, be sure you have secure scoring option set to yes. Any problems feel free to post, any game request? Post away as well! Download Now
Show Your Support
|
Comments |
#2
|
|||
|
|||
Thank you, thank you, thank you!
This solved many issues with no score games in my arcade. |
#3
|
|||
|
|||
Are these instructions how to make those new "more secure games"?
|
#4
|
|||
|
|||
These instruction are for both v2games & v32games, v32games are more recommended since there harder to cheat on.
|
#5
|
||||
|
||||
Quote:
arcade/gamedata/Asteroids/Asteroids.txtIf this is the case, where does the empty file called v32game.txt go, and what should be in both of these now empty text files? |
#6
|
||||
|
||||
will this work for games that arent fomated for v3,or anything just a swf file
|
#7
|
|||
|
|||
I'm confused about the textfile bit, he says to "make a text file with this code in it" but never gives the code?
|
#8
|
|||
|
|||
ok umm im sure i will need this its just understanding it lol
|
#9
|
||||
|
||||
What's in the Zip files exactly? Because they seem to be games, and if they are, would they be fine to use?
Never mind. Oh, and what's with the Wolfclick one? It's just a button, not a game! |
#10
|
||||
|
||||
Quote:
I did look for some open source tools, despite what the article says. I found a couple of things but I can't say if it is possible yet. For anyone looking for games.... *** Removed *** |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|