Question about a code (5165) 08/23/2010 - CO2 Private Server - 3 Replies SERVER 5165 LOTF
Well, what this npc is suppose to do in order is: Check if you have 50k cps or more, check if you are level 130 or more, check if you are level 137 or less (so check if your between level 130-137 and also checks if you have 50k or more cps). If true, the npc takes away 50k cps from your inventory, and adds a level and broadcasts that you bought a lvl. Otherwise, it gives an error message.
But I'm getting 2 errors on the line where "else" is which are "Invalid Expression...
[question]mob code IDs 03/27/2010 - CO2 Private Server - 11 Replies i know it sounds real nubbish, but does anyone have a mob code list? i used to have one, but not anymore. i used #search, couldn't find it either.
[QUESTION] This code 07/18/2009 - CO2 Private Server - 12 Replies Anyone see anything wrong with this code here?
public static void SurroundDroppedItems(Character Me, bool Check)
{
foreach (DictionaryEntry DE in DroppedItems.AllDroppedItems)
{
DroppedItem item = (DroppedItem)DE.Value;
if (item.Map == Me.LocMap)
if (MyMath.CanSee(Me.LocX, Me.LocY, item.X, item.Y))
if (!MyMath.CanSee(Me.PrevX, Me.PrevY, item.X, item.Y) || Check == false)