MDK666 Posted May 20, 2009 Posted May 20, 2009 Ok... i have been working on this mod the past few days now and have finally finished it, this script will do the same as create users, edit users, and delete users but its not useing users, its useing its own database, the same as the users for the npcs but u no longer need to edit the user to make them a npc all you have to do now is create 2 tables and these files and your all done. I have tested this myself, and plan on adding more for it to be used, i have not yet created a attack page for when u attack a monster so ill be doing that over the next few days, as for now here is the scripts. Create Table Monsters and Monsterstats in phpmyadmin You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I used the auto_increment at 10million because well we all know we wont have that many users and it wont have a error from that. Create staff_monstertent.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted May 20, 2009 Author Posted May 20, 2009 Re: [mccode v2] Monster Tent open global_func.php and find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this under it You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now create a file called monstertent.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Finally and last open smenu.php and add this where ever u want. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MDK666 Posted May 20, 2009 Author Posted May 20, 2009 Re: [mccode v2] Monster Tent I plan on codeing up a new attack page just for the monsters tent, and i also plan on createing a explore page to fight monsters, find currencys, and etc, as for the scripts when createing a monster you have the option of specifing which currencys you wish for the person to recieve on defeat of the monster, say as a example you wanted a monster named "demon" to give out 2,000 money, 10 crystals, 20 diamonds, and 1 donator day, you just add those in the boxes on the create monsters page and wala its done :) if you would like to contribute to this mod and addon to it, you can as long as u release the mod/addons for free under either this topic or another. If you have and questions or comments please dont be afraid to ask or say, im open to any feedback or suggestions. Quote
gideon prewett Posted May 20, 2009 Posted May 20, 2009 Re: [mccode v2] Monster Tent when u chalange the monster it trys to open attackmonster.php i think u forgot to add a file lol Quote
MDK666 Posted May 20, 2009 Author Posted May 20, 2009 Re: [mccode v2] Monster Tent I plan on codeing up a new attack page just for the monsters tent, and i also plan on createing a explore page to fight monsters, find currencys, and etc, as for the scripts when createing a monster you have the option of specifing which currencys you wish for the person to recieve on defeat of the monster, say as a example you wanted a monster named "demon" to give out 2,000 money, 10 crystals, 20 diamonds, and 1 donator day, you just add those in the boxes on the create monsters page and wala its done :) if you would like to contribute to this mod and addon to it, you can as long as u release the mod/addons for free under either this topic or another. If you have and questions or comments please dont be afraid to ask or say, im open to any feedback or suggestions. if you didnt read i plan on createing a attack page for the monsterstent thats why the file goes to attackmonster.php because is started working on one but never finished it. Quote
gideon prewett Posted May 20, 2009 Posted May 20, 2009 Re: [mccode v2] Monster Tent oh cool i read that but thought it would be pointless to post a code that u cant use yet but +1 from what i have seen of it Quote
MDK666 Posted May 20, 2009 Author Posted May 20, 2009 Re: [mccode v2] Monster Tent well its just part 1 of the mod, i plan on makeing another part as a update, but it also allows other users here on CE to add to it if they like, so they can do as they like with it, because im currently redoing a new game, based on hacking so yea im not gonna say exactly what im gonna have in it and etc at the moment, but im working on it at the moment so hopefully i will have it up and running in the next few days if not by next week, also do you know anyone or does anyone know where i can get a free template for the game and or some images done for free if so pm me on here or on msn or yahoo the usernames are MSN: [email protected] YAHOO: [email protected] Quote
CrazyT Posted May 21, 2009 Posted May 21, 2009 Re: [mccode v2] Monster Tent You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Why use so much code?.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Just saying :mrgreen: Quote
MDK666 Posted May 21, 2009 Author Posted May 21, 2009 Re: [mccode v2] Monster Tent its ok im up for any learning experience :) Quote
Hawk Posted May 22, 2009 Posted May 22, 2009 Re: [mccode v2] Monster Tent when you get attackmonster.php this will be a great mod so good luck with it Quote
MDK666 Posted May 24, 2009 Author Posted May 24, 2009 Re: [mccode v2] Monster Tent Well everyone here u all are its the attackmonster.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. It all works, but theres a small error that doesnt affect the battle but i cant seem to figure it out, maybe someone else will heres the error You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ok now that is told and the code above is shown for the attackmonster.php youll need to over write the other files considering i had to edit them some to get the attackmonster.php to work with the users that will attack. Quote
MDK666 Posted May 24, 2009 Author Posted May 24, 2009 Re: [mccode v2] Monster Tent New staff_monstertent.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. New sql You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. As of right now the monsters/npc uses there fists, but for everyone to know there stats are higher then normal lvl stats when makeing a monster and if u define there lvl as 1 there stats are multiplies by 50 per lvl so say u do make a lvl 1 all there stats includeing hp will be 200 so everyone have fun. Quote
Dukky Posted May 24, 2009 Posted May 24, 2009 Re: [mccode v2] Monster Tent looks like the dragon mod kyle made :? Quote
MDK666 Posted May 24, 2009 Author Posted May 24, 2009 Re: [mccode v2] Monster Tent sry but i coded this fresh from my head, and well except the attackmonster.php which is modified to work with the mod, but if u want to think thats the dragon mod then thats opinion but if u think u can find similaritys between the 2 and or have proof this is his then have fun cuz as ill say again this is my codeing. Quote
jds137 Posted May 24, 2009 Posted May 24, 2009 Re: [mccode v2] Monster Tent I got this error: And this mod has great potential. QUERY ERROR: Unknown column 'gender' in 'field list' Query was INSERT INTO monsters (monstername, level, hp, maxhp, money, crystals, diamonds, credits, donatordays, gender, attacking, equip_primary, equip_secondary, equip_armor) VALUES('Papa Joe', 10, 1100, 1100, 10000, 0, 0, 0, 1, 'Male', 1, '', '', '') Quote
MDK666 Posted May 25, 2009 Author Posted May 25, 2009 Re: [mccode v2] Monster Tent hmmm not sure, it seems like to me you didnt update the query, the old query didnt support gender, equip_primary, equip_secondary so delete the monster database and try this one: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. from there it should work. if any other problems let me know. Quote
weewooz Posted August 13, 2009 Posted August 13, 2009 Re: [mccode v2] Monster Tent sorry to bring up such a old post but this dont even show them in the monster tent it only shows one like the battle tent any ideas anyone ty Quote
weewooz Posted August 13, 2009 Posted August 13, 2009 Re: [mccode v2] Monster Tent never mind i did fix that but whole thing dont really work ya cant edit a monster oh well peace out Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.