DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • August 25, 2019, 07:36:51 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2 3 ... 6   Go Down
  Print  
Author Topic: Arena - Online PVP  (Read 23263 times)
0 Members and 1 Guest are viewing this topic.
Kala
Codemeister
****
Offline Offline

Posts: 481

Who Me?


View Profile
« on: August 19, 2006, 11:50:20 PM »

This module set, includes

A online pvp battle arena

A online pvp magical arena

Players can register and challenge each other, online.

Time out settings, and cancelled battle settings included in the code.

  • Any player who is loosing and times out mid battle, will incur a loss point, and their opponent awarded a win.  To discourage the 'Oh I'm loosing, can't have that on my stats' mind set lol.
  • 3 minute time out, if other player hasn't moved in that time.

Also has its own set of database tables.

There may be one or two bugs, but its been tested pretty extensively.

This set doesn't allow the use of buffs. 

However, the Magical Arena has its own set of potions that players can collect the ingredients and mix in the clan halls to give them added atk/def/hp in this arena, or to decrease their opponents.  14 potions in all, and creating more of them, will increase their strength.  20 potions = 1 level gain in potion making.

Potions book in bio's for players, once they've created a potion correctly, the recipe will appear there.

Also includes, 3 forest specials..

A set of notes comprise the Magic Arena forest special, giving the players half a potion mix at a time. 

Witch Garden for the collection of 4 of the 5 ingredients

This special also includes an affect on fortune if the module clanforge is active.

edit: Witch Garden now contains the 5th ingredient as a random event.  RQ is not needed, but there for those who want it.


Rainbow Quest for the collection of the 5th ingredient

Multilayered special, where the players must choose certain things to get to the end.  Basically chasing a Leprechaun across the forest, into different area's.  Players choices will effect what happens to them.  Many creatures to battle, and all is not as it seems.  There is a admin setting so the bracelet needed to activate the charms for permanent atk/def is dk reliant.

and now a Village Special:

Wiseman - gives players hints on how the magic arena, potions and ingredients work, along with one basic potion mix.

Any code fixes, please state which arena its for, the PVP or the Magic.  Thanks

Download:  http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=1070


The Dragon Queen forest special can be added to this one to supplement one of the ingredients.

Downloadable here: http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=639


Please note if you do not have the clan forge installed, they will not be able to sell/buy nor mix potions and ingredients for the magical arena..

Clan Forge avail here: http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=996
« Last Edit: June 26, 2007, 06:30:29 AM by Kala » Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
Obi_Wan
Guest
« Reply #1 on: August 24, 2006, 01:48:27 AM »

I uploaded the files into my modules directory however it gives me this now:

Parse error: syntax error, unexpected T_STRING in /blubb/logd/modules/witchgarden.php on line 3
Logged
Kala
Codemeister
****
Offline Offline

Posts: 481

Who Me?


View Profile
« Reply #2 on: August 24, 2006, 01:54:48 AM »

oops and fixed.. I've attached the witchgarden file here

*fixed a second bug in this one too*

« Last Edit: August 24, 2006, 02:02:34 AM by Kala » Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
Obi_Wan
Guest
« Reply #3 on: August 24, 2006, 02:00:48 AM »

Next error for you Wink

Parse error: syntax error, unexpected '{' in /blubb/logd/modules/witchgarden.php on line 304
Logged
Kala
Codemeister
****
Offline Offline

Posts: 481

Who Me?


View Profile
« Reply #4 on: August 24, 2006, 02:03:28 AM »

oops.. again.. *smacks self in forehead*

and fixed.. have reattached the fix to the other post. Smiley

and tested it again.. it does work without error this time .. Smiley
Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
Obi_Wan
Guest
« Reply #5 on: August 24, 2006, 02:06:58 AM »

Works thanks. I'll let my users test all that ^^. I've searched a long time for a pvp arena
Logged
Obi_Wan
Guest
« Reply #6 on: August 24, 2006, 03:45:57 AM »

One of my users tested it now. He registered for a fight but he said he didn't fight anyone and the arena says:

"Current Arena Champion: Page Lordi" which is the user who tested it.

And a feature request from me: Can you do something so the current champion is displayed on the login page?
Logged
KenMasters
Guest
« Reply #7 on: August 24, 2006, 07:29:55 AM »

O.o That would be nice. Thanks to Kala for creating this!
Logged
Grace
Guest
« Reply #8 on: August 24, 2006, 03:06:39 PM »

I don't know if this has happened for anyone else, but I'm trying this out on my test server and it's not quite working.  Character A challenges Character B and right away is told that Character B timed out.  However, Character B now has the option to go into the Arena.  Once they fight once, they are stuck because there is only a Refresh link, not a link to go anywhere else.  And Character A doesn't have an option to fight at all, since they were told that their request was declined due to a time out.

If there's something that I did wrong, please let me know.  I really think this module is neat and I'd love to be able to get it up on my game for my players. Smiley Thank you!
Logged
Kala
Codemeister
****
Offline Offline

Posts: 481

Who Me?


View Profile
« Reply #9 on: August 24, 2006, 10:02:18 PM »

Nope, something I done wrong ..

should all be fixed.. and one point, I did add a failsafe to the pvp arena, where a player cannot challenge their own alt.  It selects players registered to challenge, without the same ip or id value.  Have just added this to the magic arena.

However, if you wish to enable this (use of alts in arena's)

remove lines 1151 and 1152 in arena/magicarena.php
and lines 126 and 127 in arena/arena.php
« Last Edit: August 24, 2006, 10:13:34 PM by Kala » Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
Grace
Guest
« Reply #10 on: August 24, 2006, 10:23:18 PM »

Thank you!  I'll give it a whirl now. Smiley
Logged
Lord Zeus
Member
Militia
**
Offline Offline

Posts: 42


God of Lightning


View Profile
« Reply #11 on: August 25, 2006, 12:01:18 PM »

i like it and my players does too. Outstanding job Smiley

Is there a way where on the login page there could be a champion like who has the most PvP kills in the Hof for the PVP Arena and Magical Arena?
Logged
Lord Zeus
Member
Militia
**
Offline Offline

Posts: 42


God of Lightning


View Profile
« Reply #12 on: August 25, 2006, 12:37:37 PM »

i think i might of found something.

It appears everytime in the PVP Arena who ever challenges loses and who ever accepts wins, no matter what the DK's, Hp,atk and def is
Logged
Grace
Guest
« Reply #13 on: August 25, 2006, 01:19:05 PM »

Loving this!  But if I could suggest one thing - Would it be possible to add in a link to give up the fight?  The player could choose to just take the loss and let the other player have the win point. Sometimes if the players are too even in stats against each other, it takes a LONG time to finish the fight with just hitting each other for 1 or 2 points, or missing. 

But we're all really really enjoying the arena. Smiley
Logged
Kala
Codemeister
****
Offline Offline

Posts: 481

Who Me?


View Profile
« Reply #14 on: August 25, 2006, 08:19:21 PM »

Yeah, not a bad idea Grace Smiley

I'll see if I can add something like that over the next few days Smiley

and I'll see if I can get an additional setting in there for those that want to show the current champions on the login screen Smiley

The sql to select the champion, will show the first registered person as the champion, until someone battles in there..
Logged

~Why are there only 24 hours in a day, what I could do with an extra 1 ~
Pages: [1] 2 3 ... 6   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
98 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search