Okay so I finally got around to digging back into this, and just wanted to ask again. When doing the changes to PlayerMobile.cs it adds a case 41. My PlayerMobile.cs all ready has a case 41. So do I change the case to 43 (next unused case), and change the writer.Write(43); instead? Because...
Just a little minigame script I setup for my Server. I figured I'd release the code so anyone who is trying to do anything similar, or who wants to do something similar, can borrow my code. As far as my tests have shown, this is working entirely as intended.
BaseFarm.cs - Base Farm Mob file...
The mobile that it is attempting to set to the same faction as the user, does not contain a property to store a Faction type. I'm not familiar enough with Factions to help any further than that, but you could start by looking at the mobile file, to see if/how it handles Factions.
There probably is, or at worst case, you'd have to set the name, weight, and material type of the items as a variable prior to the transform, then apply the variables afterwards.
Yes it changes for each morph. The weight, name, material types, all get modified when using this tool.
Theres the Valorite "Ringmail" Gloves I had started with, after using the tool on it.
Heritage Sovereigns are something specific on our server. Its a physical form of the currency that can be used to add Sovereigns to bank. Tho on the bank side of things, I played around with the script a little further and found:
switch(Utility.Random(10))
{...
Lol I feel you there. I still havent uploaded it to my test server yet, but I have a feeling the deco freaks will LOVE it.
1609135295
I took a read through of your code, and the concept looks fine. Only two problems I discovered, are weight and material type for meditiation is changing when...
So after my hours, and curse words, I finally managed to get it to work. Just to update for anyone who Necro Finds this post.
If you are doing a for() statement, especially if it using a variable, you MUST call the Variable in the Public Class main
namespace Server.Items
{
public class...
So I'm having a slight issue with a for() syntax in a file I'm making. Essentially its a stackable Consumable, and I want it to run a function x times, where x is the amount in the stack.
"
public FarmTicket(int amount)
: base(0x14F0)
{
Name = "Farm Ticket"...
Modify the script to give out the rewards you would like (I left the ones for my server there to give examples).
[add ChristmasGift 1
Will create 1 Christmas Gift Box, that when opened gives the items from the file, to the players inventory, wishes them a Merry Christmas.
Sorry its a little...