Eclipse - Free 2D Mmorpg Maker
March 11, 2010, 07:08:52 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Chat(2) Login Register  
 
 
   
 
collapse

* No Spam Or Websites

Refresh History
  • nickpop123: pmo is so lonly at night :O
    Today at 07:08:37 PM
  • Jungletoe: Theres a viking rpg now?
    Today at 07:06:21 PM
  • SHADERS: ya we can
    Today at 07:04:35 PM
  • ciocod: guess not
    Today at 07:04:10 PM
  • ciocod: can yall see me typing?
    Today at 07:03:44 PM
  • ciocod: whats goin on everyone?
    Today at 07:03:28 PM
  • Jungletoe: The wierd thing about a pirate rpg is trying to make variated tiles. Any suggestions? For example, life raft, bowies...
    Today at 06:55:57 PM
  • SHADERS: ice, ur not talkin funni anymor
    Today at 06:51:58 PM
  • XxshadowchrisXx: its not the end of the world
    Today at 06:48:11 PM
  • Robin: Holy Christ, I made a spelling mistake. Here*
    Today at 06:47:38 PM
  • Ice: am i robin?
    Today at 06:47:11 PM
  • Robin: And on that note, I'm going to bed. Nearing 3am.
    Today at 06:47:02 PM
  • Robin: Because you're hear bugging people.
    Today at 06:46:29 PM
  • Ice: ya why it say site may be buggy?
    Today at 06:45:15 PM
  • Jungletoe: You mean da site?
    Today at 06:44:19 PM
  • Ice: what happend?
    Today at 06:42:52 PM
  • Jungletoe: Im calling it Avast probably...
    Today at 06:42:41 PM
  • Jungletoe: I like the word cove...
    Today at 06:42:16 PM
  • Jungletoe: Yeah, im a big fan of those sayings (ie "Yohoho", "Arg", "Land Ho!", etc)
    Today at 06:41:40 PM
  • TDog: 7 seas, pirate cove.....
    Today at 06:40:43 PM

* Recent Topics

Count to 1,000,000! by Jna
[Today at 06:53:15 PM]


Eclipse Origins v1.0.1 by Robin
[Today at 06:42:54 PM]


Eclipse's Networking Manual by Godlord
[Today at 06:12:31 PM]


[WIP] Domination by Soul
[Today at 06:08:59 PM]


A Couple Of Questions by PainKiller
[Today at 06:07:57 PM]


[Real Life Picture Thread] by Tylian!
[Today at 06:06:38 PM]


My Server is offline for other users by Admiral Refuge
[Today at 05:21:26 PM]


Pokemon Cyrus Online 2010 by Wraith
[Today at 05:20:00 PM]


Viking's Monster Graphics by Ghost
[Today at 05:19:48 PM]


Changing and adding stats names by Admiral Refuge
[Today at 04:00:47 PM]


* Who's Online


Site Author : Topic: Var for arena kills  (Read 118 times)
0 Members and 1 Guest are viewing this topic.
October 29, 2009, 11:09:49 AM
The forum stalker
Member
**
User No : 10414
Posts: 55
Location : Somewhere very very bright and hot
  • View Profile
first off make a folder in ur scripts folder called 'arenakills' without the 's
in the
Code: [Select]
Sub OnArenaDeath(Attacker, Victim)paste this near the bottom
Code: [Select]
Call PutVar("Scripts\arenakills\" & GetPlayerName(Attacker) & ".ini", "Arena", "ArenaKills") + 1)What this does for each player it will make a .ini file in the arenakills for them
Note: u can rename the folder to like kills or player but ull have to change this part of code Scripts\arenakills\" & GetPlayerName(Index) & "\
the green to the exact name of the folder. I dont see how people can use this personally i use it for a class advancement (just edit a class advancement script).

THIS DOESNT WORK AND MY GAME ISN'T BASED ON ARENA'S ANYMORE!
« Last Edit: November 13, 2009, 08:04:12 PM by EclipseStalker » Logged

WTF u lookin at my sig for?
October 29, 2009, 11:13:07 AM
Veteran
Advanced Member
*
User No : 78
Posts: 675
Location : Belgium
  • View Profile
I'm pretty sure this won't work. Since the only values used in the OnArenaDeath sub are attacker and victim, and you're using index in your getplayername :/ Have you tested this?
Logged



"Humans are beautiful, but humanity is not."

October 29, 2009, 11:14:25 AM
The forum stalker
Member
**
User No : 10414
Posts: 55
Location : Somewhere very very bright and hot
  • View Profile
oh whoops i didnt mean to change that code i was changing my command one
Logged

WTF u lookin at my sig for?
October 29, 2009, 11:16:29 AM
The Last Man Alive
Global Moderator
Teh Uberleet
*
User No : 1081
Posts: 3073
  • View Profile
Also, there's quite a few errors in the script. For example, you have "+1" as a parameter for PutVar. You can't simply make it increase itself by 1. Also, you used a file path without GetVar in the PlayerMsg.

Simply put, this won't work as is.
Logged

Quote
I do not like being labeled a "Grammar Nazi" because it implies that I am the one committing the genocide.
 


Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
SimplePortal 2.3.1 © 2008-2009, SimplePortal
Valid XHTML 1.0! Valid CSS!
Page created in 0.601 seconds with 28 queries.