Author Topic: Taking servers in a different direction?  (Read 3966 times)

0 Members and 1 Guest are viewing this topic.

Offline mechanical keyboard enthusiast

  • Full Member
  • ***
  • Posts: 161
  • Attack: 3904
    Defense: 2954
    Attack Member
  • Karma: 3
  • Gender: Male
    • View Profile

  • Total Badges: 24
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Invisible
Re: Taking servers in a different direction?
« Reply #20 on: February 01, 2014, 12:31:18 am »
I'm still stuck on magic with the files I was reworking.  after seeing the questions you've asked I look forward to seeing what you come up with...getting a turkey from a tree ;D

Haha, it's not quite that wild. This really hasn't gone beyond "playing around".

You should be using itemids anyway to reference.

I agree, although it seems like most ini's don't follow that practice.

IIRC 'magic attack' doesn't show up unless it's named blue/white/red/whatever, which kind of sucks.

And yeah, it really should be done though, just to have maintainability and stuff. I don't think it's case-sensitive, which means it's bloody awful to find+replace across multiple files and you might hit some wrong things and whatever..

Offline Roarion

Re: Taking servers in a different direction?
« Reply #21 on: February 01, 2014, 10:15:07 am »
I'm still stuck on magic with the files I was reworking.  after seeing the questions you've asked I look forward to seeing what you come up with...getting a turkey from a tree ;D

Haha, it's not quite that wild. This really hasn't gone beyond "playing around".

You should be using itemids anyway to reference.

I agree, although it seems like most ini's don't follow that practice.

IIRC 'magic attack' doesn't show up unless it's named blue/white/red/whatever, which kind of sucks.

And yeah, it really should be done though, just to have maintainability and stuff. I don't think it's case-sensitive, which means it's bloody awful to find+replace across multiple files and you might hit some wrong things and whatever..

What do you mean "magic attack" doesn't show up unless it's named blue/white/red?

Also eww... please don't go to all itemids for the inis unless you are going to put a comments in for what that number is.
Asylum - lvl 33 Thrower
Pyramid - lvl 40 Scythe
Dementia - lvl 69 Spear
Nexus V2 - lvl 61 Stealth
Rebirth - lvl 72 Bow
Ganymede - lvl 56 Mage
Hex - lvl 1000 Admin
Future - lvl 1000 Admin
Retired - Unless V6 pulls a miracle

Offline Greatest

  • Hero Member
  • *****
  • Posts: 1318
  • Attack: 173
    Defense: 107
    Attack Member
  • Karma: 1
  • Gender: Male
  • I'm better than you!
    • View Profile

  • Total Badges: 36
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary 10 Poll Votes
Re: Taking servers in a different direction?
« Reply #22 on: February 01, 2014, 03:58:28 pm »
you can name a "magic" whatever you want, it is a skill and skills have uses.  the spells are where you determine if they are attacks or not or for that matter whether they can be defended.  ie: a boost spell wouldn't need to be blocked(its a good thing), but you add the "AllowDefend" command to attack spells or anyone with any amount of magic could attack and kill someone no matter how high their magic defense.  maybe you should read the info at the top of the magic.ini file and the skill.ini file so you'll know these things.

example from my skill.ini and magic.ini files:

Code: [Select]
Skill=16
Name=Attack Magic
Usable=1
SkillPoints=8
Intel=1
Wisdom=1
Divisor=3
Description=Offensive magic used to destroy your enemy.
Purpose=Magic
;;;;;potion made

Code: [Select]
Spell=4
Name=Flame Other Low
Description=Target is inflicted with 10-20 Fire damage.
Skill=Attack Magic
SkillToLearn=15
SkillMin=15
SkillMax=45
WandUse=1
ManaCost=15
Range=6
Target=Other
CastTime=2.0

LineOfSight
AllowDefend

SuccessXP=35
FailedXP=10

Animation0=16
ProjectileAnimation=35

Rune1=Target Rune
Rune2=Attack Rune
Rune3=Fire Rune
Rune4=Low Rune

Life=-15
Variance=5

DamageType=Fire

Also eww... please don't go to all itemids for the inis unless you are going to put a comments in for what that number is.
definitely agreeing with Roar on this 1!  having every item listed solely as a number means if you  make a mistake and you don't know off the top of your head what every single number is you're in for some serious work...
« Last Edit: February 01, 2014, 04:01:45 pm by Greatest »
why does Fox keep cancelling good shows?

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #23 on: February 01, 2014, 04:43:42 pm »
Can someone explain how "GrowthDelta" and "DegradeDelta" work? What does this number represent? I can't seem to figure it out.
Shoop!

Offline Roarion

Re: Taking servers in a different direction?
« Reply #24 on: February 01, 2014, 06:22:45 pm »
Can someone explain how "GrowthDelta" and "DegradeDelta" work? What does this number represent? I can't seem to figure it out.

How long it will take the item to grow. How long it will take the item to degrade/vanish.
Asylum - lvl 33 Thrower
Pyramid - lvl 40 Scythe
Dementia - lvl 69 Spear
Nexus V2 - lvl 61 Stealth
Rebirth - lvl 72 Bow
Ganymede - lvl 56 Mage
Hex - lvl 1000 Admin
Future - lvl 1000 Admin
Retired - Unless V6 pulls a miracle

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #25 on: February 01, 2014, 06:56:24 pm »
How long it will take the item to grow. How long it will take the item to degrade/vanish.

Well, I guessed at that much, but what is it ACTUALLY? Is it number of minutes/hours? Does a shorter number mean less or more time?
Shoop!

Offline mechanical keyboard enthusiast

  • Full Member
  • ***
  • Posts: 161
  • Attack: 3904
    Defense: 2954
    Attack Member
  • Karma: 3
  • Gender: Male
    • View Profile

  • Total Badges: 24
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Invisible
Re: Taking servers in a different direction?
« Reply #26 on: February 01, 2014, 07:45:50 pm »

Also eww... please don't go to all itemids for the inis unless you are going to put a comments in for what that number is.
definitely agreeing with Roar on this 1!  having every item listed solely as a number means if you  make a mistake and you don't know off the top of your head what every single number is you're in for some serious work...

Wait, people are writing these from scratch? Like, not using tools or scripts to generate them???

Offline Greatest

  • Hero Member
  • *****
  • Posts: 1318
  • Attack: 173
    Defense: 107
    Attack Member
  • Karma: 1
  • Gender: Male
  • I'm better than you!
    • View Profile

  • Total Badges: 36
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary 10 Poll Votes
Re: Taking servers in a different direction?
« Reply #27 on: February 01, 2014, 09:00:56 pm »
@Raikaria you can use Ini files someone else made, you can modify Ini files someone else made, or you can make them from scratch all on your own...don't think there are any scripts to write an Ini file.

@Mongo I think its in Vdays but don't quote me on that!
why does Fox keep cancelling good shows?

Offline Roarion

Re: Taking servers in a different direction?
« Reply #28 on: February 02, 2014, 01:14:10 pm »
@Mongo I think its in Vdays but don't quote me on that!

I think 10 is 1 Vday?
Asylum - lvl 33 Thrower
Pyramid - lvl 40 Scythe
Dementia - lvl 69 Spear
Nexus V2 - lvl 61 Stealth
Rebirth - lvl 72 Bow
Ganymede - lvl 56 Mage
Hex - lvl 1000 Admin
Future - lvl 1000 Admin
Retired - Unless V6 pulls a miracle

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #29 on: February 02, 2014, 01:36:46 pm »
@Raikaria you can use Ini files someone else made, you can modify Ini files someone else made, or you can make them from scratch all on your own...don't think there are any scripts to write an Ini file.
Advantages of being a programmer :-P. Wrote a tool to batch create and modify entries as well as a GUI to create new entries, loading in defaults based on a selected category. I'd share it here, but it's written in my company's proprietary language, and it's an interpreted language instead of a compiled language. Basically I'd need to give out the source code and the company's proprietary interpreter .exe and... I don't think they'd like that. Only reason I used it is because I can get away with programming in that language at work since they think I'm doing work.

@Mongo I think its in Vdays but don't quote me on that!

I'M QUOTING YOU!


I think 10 is 1 Vday?

Hmm, that doesn't seem right. Take "Birch Tree Cutting" for example.
Code: [Select]
Item=1009
Name=Birch Tree Cutting
Class=Normal
Animation0=154
Burden=5
DegradeDelta=1000
FireCatch=30
Stackable
Group=30
Value=5

Now, I know it takes these a moderate amount of time to degrade, but I would have guessed 1-2 VDays. 1000 Vdays is just crazy.

I also know rose petals degrade fairly fast. I'd guess .. half a vday?

Code: [Select]
Item=1439
Name=Red Rose Petals
Class=Normal
Animation0=624
Burden=1
stackable
Value=5
Group=30
DegradeDelta=100

But I've tried setting the DegradeDelta to 1 and waiting, and I haven't seen it trigger.. so it's confusing.



Edit: Also, having a really obscure issue with a couple items I created. When trying to drag them to my inventory or anywhere on the ground, they are acting as though I have the "NotMovable" flag set on them.

This one works normally:
Code: [Select]
Item=9
Name=ItemName1
Class=Normal
Burden=1
Animation0=1227
DegradeItem=10
DegradeDelta=1000
Stackable

This one does not allow me to move it
Code: [Select]
Item=10
Name=ItemName2
Class=Normal
Burden=1
Animation0=1460
DegradeDelta=1000
Stackable

I am really lost as to why I can move the first one but not the second. I'm assuming there is an issue somewhere else in the .ini that is causing the second item to not "compile" correctly into the .dat. Is there any way to view the "compiled" .dat to see what the .ini turns into or is that too low-level at that point?
« Last Edit: February 02, 2014, 01:40:50 pm by Mongo »
Shoop!

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #30 on: February 02, 2014, 02:03:09 pm »
Does it matter what order these properties are in? I kinda assumed each item in the item.ini was defined by starting with the "Item" property, defining the number and ends when it reaches the next "Item" property. But now I'm not sure.

Something is wrong with my item.ini. It seems like some properties are just getting skewed or ignored. I created a fire item, set the "StandDamage" property on it, saved it, ran the server to create the .dat files, copied them to my local files for the client and ran the client. And standing on the fire does no damage.. I'd rather not post my whole item.ini because I wanna keep it secret :-P But .. does this ring any bells? Any general concerns about this?
Shoop!

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #31 on: February 02, 2014, 02:51:47 pm »
Ok, as a test I replaced my item.ini with the server files item.ini from rpgwo.com. Placed a couple items on the ground like seeds and food, couldn't move them. It's just

Code: [Select]
That object is un-movable.

over and over. Very frustrating!!!


Edit: NEW DEVELOPMENTS .. Items created by my admin character with the /item command cannot be moved. If I obtain the items through normal means defined in the itemuse.ini, I can move them. Very odd, makes it very hard to test things.
« Last Edit: February 02, 2014, 03:00:36 pm by Mongo »
Shoop!

Offline Roarion

Re: Taking servers in a different direction?
« Reply #32 on: February 02, 2014, 03:39:33 pm »
Ok, as a test I replaced my item.ini with the server files item.ini from rpgwo.com. Placed a couple items on the ground like seeds and food, couldn't move them. It's just

Code: [Select]
That object is un-movable.

over and over. Very frustrating!!!


Edit: NEW DEVELOPMENTS .. Items created by my admin character with the /item command cannot be moved. If I obtain the items through normal means defined in the itemuse.ini, I can move them. Very odd, makes it very hard to test things.

Step on the item and type /itemmovable. Items spawn like this for admins because they are supposed to be creating quests or managing things on plot land and not giving away items to characters. If you want to make items players can grab use /itemspawn.
Asylum - lvl 33 Thrower
Pyramid - lvl 40 Scythe
Dementia - lvl 69 Spear
Nexus V2 - lvl 61 Stealth
Rebirth - lvl 72 Bow
Ganymede - lvl 56 Mage
Hex - lvl 1000 Admin
Future - lvl 1000 Admin
Retired - Unless V6 pulls a miracle

Offline Roarion

Re: Taking servers in a different direction?
« Reply #33 on: February 02, 2014, 03:44:45 pm »
Does it matter what order these properties are in? I kinda assumed each item in the item.ini was defined by starting with the "Item" property, defining the number and ends when it reaches the next "Item" property. But now I'm not sure.

Something is wrong with my item.ini. It seems like some properties are just getting skewed or ignored. I created a fire item, set the "StandDamage" property on it, saved it, ran the server to create the .dat files, copied them to my local files for the client and ran the client. And standing on the fire does no damage.. I'd rather not post my whole item.ini because I wanna keep it secret :-P But .. does this ring any bells? Any general concerns about this?

I would try to keep a general consistency but it does not matter what order you put most of the item properties in. In general I would follow this when starting your items.

Item=1077
Name=Fire
Class=Fire
Animation0=393
Other Properties

Also the problem with your fire might be that you have included PKDamage and are NON-PK?

Try just posting the ini code for the item you are having problems with.

EDIT: Double post... I don't think I can delete posts also?
« Last Edit: February 02, 2014, 03:47:59 pm by Roarion »
Asylum - lvl 33 Thrower
Pyramid - lvl 40 Scythe
Dementia - lvl 69 Spear
Nexus V2 - lvl 61 Stealth
Rebirth - lvl 72 Bow
Ganymede - lvl 56 Mage
Hex - lvl 1000 Admin
Future - lvl 1000 Admin
Retired - Unless V6 pulls a miracle

Offline Greatest

  • Hero Member
  • *****
  • Posts: 1318
  • Attack: 173
    Defense: 107
    Attack Member
  • Karma: 1
  • Gender: Male
  • I'm better than you!
    • View Profile

  • Total Badges: 36
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary 10 Poll Votes
Re: Taking servers in a different direction?
« Reply #34 on: February 02, 2014, 05:01:48 pm »
@Mongo I think its in Vdays but don't quote me on that!
I think 10 is 1 Vday?
yea knew it was something like that...but in Vdays not hours is what I meant

about the degrade: could be same issue with not being able to move items, maybe admin created items won't decay :P
why does Fox keep cancelling good shows?

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #35 on: February 02, 2014, 05:23:09 pm »
If you want to make items players can grab use /itemspawn.

I love you.
Shoop!

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #36 on: February 02, 2014, 06:28:05 pm »
Ok, well not stuff is degrading properly. Weird screen refresh issue though. It seems like if multiple items on the screen change at the same time, there's some screen corruption. Quite a few items on the screen disappear, sometimes the player too. It's fixed if I move so that the location is off screen, then bring it back on screen (or log off/on). Is this just the result of having the delta too low and too many things trying to update?
Shoop!

Offline Roarion

Re: Taking servers in a different direction?
« Reply #37 on: February 02, 2014, 09:47:56 pm »
Ok, well not stuff is degrading properly. Weird screen refresh issue though. It seems like if multiple items on the screen change at the same time, there's some screen corruption. Quite a few items on the screen disappear, sometimes the player too. It's fixed if I move so that the location is off screen, then bring it back on screen (or log off/on). Is this just the result of having the delta too low and too many things trying to update?

Does the broken screen thingy keep coming back if you return to that spot? If so I remember it happening to me when I tested out a negative improve spell. Try doing an /mapitemclear # to delete the bad item if you can. /itemtrail -1 and running over it might work also.

Otherwise i'm not really sure what you may have done wrong. A ton of items degrading shouldn't mess up your screen. All i've ever encountered was a bit of lag when you have a ton of items degrading, no lasting issues.
Asylum - lvl 33 Thrower
Pyramid - lvl 40 Scythe
Dementia - lvl 69 Spear
Nexus V2 - lvl 61 Stealth
Rebirth - lvl 72 Bow
Ganymede - lvl 56 Mage
Hex - lvl 1000 Admin
Future - lvl 1000 Admin
Retired - Unless V6 pulls a miracle

Offline Greatest

  • Hero Member
  • *****
  • Posts: 1318
  • Attack: 173
    Defense: 107
    Attack Member
  • Karma: 1
  • Gender: Male
  • I'm better than you!
    • View Profile

  • Total Badges: 36
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary 10 Poll Votes
Re: Taking servers in a different direction?
« Reply #38 on: February 02, 2014, 10:03:47 pm »
might be time to bug Mickey on this 1...
why does Fox keep cancelling good shows?

Offline Mongo

  • Sr. Member
  • ****
  • Posts: 449
  • Attack: 91
    Defense: 91
    Attack Member
  • Karma: 16
  • Gender: Male
  • My Loony Bun is Fine
    • View Profile
    • Email

  • Total Badges: 29
    Badges: (View All)
    Sixth year Anniversary 10 Poll Votes Fifth year Anniversary
Re: Taking servers in a different direction?
« Reply #39 on: February 03, 2014, 09:24:46 am »
might be time to bug Mickey on this 1...

If I could successfully reproduce the issue in a controlled environment, I'd agree. But it's more like me saying "I do something and something happens.. why?"

I think it may simply be an issue of setting too many deltas to "1". I put them at 1 to test how they degrade and what they degrade to.

After putting everything up to more realistic values, I haven't seen the issue since.
Shoop!

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
1223 Views
Last post September 27, 2006, 02:58:36 am
by King Dravien
103 Replies
7968 Views
Last post September 02, 2008, 12:29:35 pm
by Pepin
9 Replies
1397 Views
Last post September 07, 2008, 06:44:58 pm
by The Muffin Man
1 Replies
618 Views
Last post December 01, 2008, 05:23:36 pm
by Rokhan
2 Replies
1053 Views
Last post September 21, 2015, 11:48:01 am
by Greatest