Hey guys.
Anyhow, today I'm gonna do a big change in the way things are saved and how data is kept. I'm phasing out GLON entirely in favor of a new serializing module called vON, which is much faster, less bloated and will allow us to cram more things in less space. Problem is, it breaks compatibility with your old files.
You may say I'm crazy, that the benefits don't warrant the cost. But there's a reason I'm doing this, and that is to change everything to use MySQL queries, employing SQLite by default and allowing you to use any dedicated MySQL database with any MySQL module to handle your data. This is for the greater good, as saving in text files often proved, well, ineffective (I raise the issue of the Linux inventory bug, for one), prone to cause data loss, and generally unhandy.
This will be the first change you will see on our repo as it prepares for the GMod 13 conversion, which is going to add a couple of stuff, and fix some common bugs. It ain't gonna be a Tiramisu 3 but it might as well be.
[QUOTE=Big Bang;36960400]Hey guys.
Anyhow, today I'm gonna do a big change in the way things are saved and how data is kept. I'm phasing out GLON entirely in favor of a new serializing module called vON, which is much faster, less bloated and will allow us to cram more things in less space. Problem is, it breaks compatibility with your old files.
You may say I'm crazy, that the benefits don't warrant the cost. But there's a reason I'm doing this, and that is to change everything to use MySQL queries, employing SQLite by default and allowing you to use any dedicated MySQL database with any MySQL module to handle your data. This is for the greater good, as saving in text files often proved, well, ineffective (I raise the issue of the Linux inventory bug, for one), prone to cause data loss, and generally unhandy.
This will be the first change you will see on our repo as it prepares for the GMod 13 conversion, which is going to add a couple of stuff, and fix some common bugs. It ain't gonna be a Tiramisu 3 but it might as well be.[/QUOTE]
Sounds great mate!
[QUOTE=Mobious;36960591]ITEM.Flags doesn't work :C
[code]
ITEM.Flags = {
"armor180",
"bulletarmor20.5",
"explosivearmor20.2",
"kineticarmor20.6"
}
[/code]
I tried using:
[code]
ITEM.Flags = {
"armor;180",
"bulletarmor;20.5",
"explosivearmor;20.2",
"kineticarmor;20.6"
}
[/code]
..like in Tiramisu 1.2.[/QUOTE]
[code]
ITEM.Flags = {
"armor180",
"shieldratio0.8",
"bulletarmor0.5",
"explosivearmor1.2",
"kineticarmor0.6",
"rigweightheavy"
}
[/code]
That works for me, least I think it does.
ITEM.Flags is a terrible system.
Just add new fields to the ITEM table normally, they work. I'm probably going to phase out ITEM.Flags due to how much they suck.
[code]
ITEM.Name = "Elite Armor"
ITEM.Class = "clothing_elite"
ITEM.Description = "Heavy armor designed for the very elite."
ITEM.Model = "models/Combine_Super_Soldier.mdl"
ITEM.Purchaseable = false
ITEM.Price = 1000
ITEM.Unusable = true
ITEM.ItemGroup = 2
ITEM.Unusable = true
ITEM.Flags = {
"armor180",
"shieldratio0.8",
"bulletarmor0.5",
"explosivearmor1.2",
"kineticarmor0.6",
"rigweightheavy"
}
ITEM.Content = {
"materials/models/combine_soldier/combine_elite.vmt",
"models/Combine_Super_Soldier.mdl"
}
function ITEM:Drop(ply)
end
function ITEM:Pickup(ply)
self:Remove()
end
function ITEM:UseItem(ply)
end
[/code]
I downloaded the new version of tiramisu, using a standard suit elite combine and still does not work. Damage to the character is cleared unchanged.
[QUOTE=Mobious;36961239][code]
ITEM.Name = "Elite Armor"
ITEM.Class = "clothing_elite"
ITEM.Description = "Heavy armor designed for the very elite."
ITEM.Model = "models/Combine_Super_Soldier.mdl"
ITEM.Purchaseable = false
ITEM.Price = 1000
ITEM.Unusable = true
ITEM.ItemGroup = 2
ITEM.Unusable = true
ITEM.Flags = {
"armor180",
"shieldratio0.8",
"bulletarmor0.5",
"explosivearmor1.2",
"kineticarmor0.6",
"rigweightheavy"
}
ITEM.Content = {
"materials/models/combine_soldier/combine_elite.vmt",
"models/Combine_Super_Soldier.mdl"
}
function ITEM:Drop(ply)
end
function ITEM:Pickup(ply)
self:Remove()
end
function ITEM:UseItem(ply)
end
[/code]
I downloaded the new version of tiramisu, using a standard suit elite combine and still does not work. Damage to the character is cleared unchanged.[/QUOTE]
Correction, it's already disabled. The damage system itself was removed circa Beta 3.
It could be reimplemented, but only after the significant changes in data handling I'm going to make.
So you are back in and using MySQL solves the Linux issue?
[sp]Anyone have this problem? Whenever a faction member spawns with his loadout, his weapons are listed as props, you can't equip them in the right click menu, only wear them. Yes I did list the weapons in the weapon loadout menu not the item one. Using the latest revision as of this post date.[/sp]
Never mind, I just didn't understand a mechanic of the gamemode.
How add a default clothing, when I create a character?
So update.
I'm working out the MySQL transition, basically all the basics are done, I still need to do groups and containers bu it's all coming together. You won't have to do anything, the tables are generated for you, and there's support for mysqloo, tmysql or sqlite (default). You actually don't even need an actual database if you leave SQLite on.
There is gonna be a Tiramisu 3 but it definitely is not going to be as big of a change from Tiramisu 2. I'm not actually going to add new features, merely improve what's already existing, change the UI, maybe some new stuff regarding animations, items can now be composed of several props at once, there'll be some changes in groups, factions and business (You'll be able to sell items you make). And it'll work on GMod 13, that's about it.
After all that is done I'll start working on the documentation.
That's pretty cool. :smile:
I do have a problem though. I believe it was mentioned in the last page, but I'm having a problem where in the character creation menu, the breen model is overlaying all the other models. This is a fresh garrysmod install on the server and I moved the folders from the content folder to its proper destination. Any help with this one?
[QUOTE=HighdefGE;37005516]That's pretty cool. :smile:
I do have a problem though. I believe it was mentioned in the last page, but I'm having a problem where in the character creation menu, the breen model is overlaying all the other models. This is a fresh garrysmod install on the server and I moved the folders from the content folder to its proper destination. Any help with this one?[/QUOTE]
Some admin mods like evolve and ulx can break that, do you have any of those on?
[QUOTE=a-cookie;37005522]Some admin mods like evolve and ulx can break that, do you have any of those on?[/QUOTE]
Nope, like I said it's completely fresh. No addons or anything. The only change in my server's garrysmod directory is the addition of the gamemode and the content in the root directory and a custom map.
[QUOTE=HighdefGE;37005564]Nope, like I said it's completely fresh. No addons or anything. The only change in my server's garrysmod directory is the addition of the gamemode and the content in the root directory and a custom map.[/QUOTE]
Move the contents of Tiramisu/content to garrysmod/garrysmod and click "yes" to merge.
[QUOTE=Doritos_Man;37005831]Move the contents of Tiramisu/content to garrysmod/garrysmod and click "yes" to merge.[/QUOTE]
Does anybody read my posts these days? Not to be harsh, but I already said I've done that a few posts above. Nonetheless, it hasn't worked so far. Any other ideas? I've literally changed nothing in the gamemode files.
If anyone has knowledge of setting up Tiramisu 2 on a server please contact me:) My friends an I are having a lot of trouble.
Hey, today i downloaded the zip on the front page and installed it on my completely fresh garry's mod server.
Everything seems to be working correctly except the inventory is completely broken. We can't pick up items, none of the inventory boxes are there, and when we buy something from our business nothing seems to happen. No visible errors, either.
Additionally, how do i properly change the schema? Changing it in the configuration.lua file doesn't seem to be working.
Edit:
I lied. This is the only error.
[@gamemodes/kamaitama-Tiramisu-7db0e40/gamemode/schema.lua:58] bad key to string index (number expected, got string)(Hook: Initialize)
Both you guys, try downloading a previous repo.
Hm, well it turns out the content files weren't forcing clients to download them, so I guess I fixed that by copying them to FastDL. Thanks for the response anyways, much appreciated.
I'm very confused about how to use this. Am I missing some sort of big tutorial?
I can't even open the inventory or anything in the tab menu with the gamemode as-is. If you could help me in any way with some problems I've been experiencing or any questions I have, I would be glad to accept it.
Scoreboard = F1
Inventory = F2
Toggle 1st/3rd person = F4
Interact with a lot of things like props, doors, people = Hold tab and right click on them
[SUP][gamemodes\kamaitama-tiramisu-7db0e40\gamemode\schemas\global\plugins\inventory\cl_inventory.lua:382] attempt to index field 'InventoryFrame' (a nil value)[/SUP]
I was supposed to put a schema in, wasn't I? And how do I use certain schemas? I also receive this glitch where once I die, I respawn without a visible body.
I want to know how to create my own roleplay from scratch, but all of these glitches and errors confuse me even further - and remember that I get lua errors when I try to open the scoreboard, inventory, or any menu that appears in tab.
[QUOTE=Alan Craft;37044969][SUP][gamemodes\kamaitama-tiramisu-7db0e40\gamemode\schemas\global\plugins\inventory\cl_inventory.lua:382] attempt to index field 'InventoryFrame' (a nil value)[/SUP]
I was supposed to put a schema in, wasn't I? And how do I use certain schemas? I also receive this glitch where once I die, I respawn without a visible body.
I want to know how to create my own roleplay from scratch, but all of these glitches and errors confuse me even further - and remember that I get lua errors when I try to open the scoreboard, inventory, or any menu that appears in tab.[/QUOTE]
remove your lua cache.
also remove any admin mods, and if you're in a server turn on scriptenforce.
A lot of people who join my server experience problems like the escape menu breaking and chat disappearing. Speaking of chat disappearing, that happens when you have the flashlight on. I also think it sucks that the flashlight is useless because you can't really point it, so I think if the flashlight was implemented better to maybe have an animation where you can point it, that would be great.
Apparently the menu glitch only happened in single player when I was testing the gamemode out. Although when one of my friends joined my testing server, his garry's mod went completely black except for showing a small portion of the screen. We managed to be able to type 'exit' in console so we didn't have to restart the computer, but I find that pretty annoying. If it helps at all, he was using a mac.
After I get all of these problems sorted out, I would really like to learn how to completely set up the gamemode.
[QUOTE=hunterNormandy;37115663]I love this so far. Just was wondering if anybody else gets problems with the "LoseItemsOnDeath" is this like anything in your inventory or am i not understanding the meaning of it? also, is there anyway to implement radial voice chat? like they do in those darkrp gamemodes
Also the third person seems to break rather randomly.[/QUOTE]
I think containers are broken and when you die you're supposed to loose your stuff but what ends up happening is instant re-spawn and your ragdoll disappears, right?
Can someone please say how to prepare SRCDS(Windows) for this Gamemode, because i have huge bugs with SRCDS on gamemodes who work 100% on a root. Wich games i need to install/download. Do i need to rename the CSS folder to cstrike and put it in orangebox ? Please gemme a short "tutorial".
greetings,
Yaazu.
Uhh, that's because "alt" is a key used by the camera.
[QUOTE=Jawalt;37168712]Uhh, that's because "alt" is a key used by the camera.[/QUOTE]
I'm just finding out about this.
Sorry, you need to Log In to post a reply to this thread.