Jump to content

simstosh

Members
  • Posts

    44
  • Joined

  • Last visited

Everything posted by simstosh

  1. I have a full time + OT job doing C# programming and IT, live an hour away from work. My free time is maybe 2 hours a day. I don't want to spend all that time working even more. The website will be up when it's up. I have tried multiple paths to the site now. I have now a setup that will work, but it needs a front end. If you can customize phpbb, Titania, and anchor to all work together perfectly overnight, be my guest and do it. I spent half of January moving into a new place that was 20 miles away, working on my truck, doing housework. I am not some kid who can spend all day on his PC doing whatever. Basics are in place, but they look like :~. I can either release a half assed website that's usable but doesn't look right, or I can spend my time during my lunch breaks and available afterwork/weekend time doing it right. I chose the latter. Like I said, I don't have nothing against you or sniper, or even "why the website isn't online already". I just put my upset and lack of interest about the mod because of this situations. And before you start to be equivocated, be sure that I'm not a kid who lives the entirely day playing on PC, I work as a Linux/Windows System Administrator (even more time than I should work) and even living VERY close to my work, I spend at least one hour to reach my home (too much traffic in the roads), I know that routine. For the forum system, I recommend (even if there's a need to purchase a license, who isn't too expensive) using IPB, because it's easily to configure him, add new themes or plugins and, the time you will lose configuring new plugins on phpBB AND configuring Titania, just not worth it, trust me. And, if you decide to use IPB, I have made thousands of forums using him, I know how to configure, just PM me.
  2. To be honest, I was excited at the first moment this was posted here, but after some days I just lost the interest, I mean, I offered help (with the site/forum), talked with sniper, done some "forum prototypes" and all, but he just said nothing to me (he was never online at skype) and put another guy in the place to do the work (who doesn't put the website on till today, 2 months have passed). I have nothing against sniper or the other guy (who is Global Mod here), but I just got upset with this situation.
  3. Make a setTimer parameter who sets "warningGiven [ source ] = false" after xxxx milliseconds, just after setting him to true.
  4. This alone sums up the purpose he posted it. I'm latin and I found that offensive. @Sniper: as i'm saying I don't really have enough time until the 7th of December.. Anyways, if you do really need somebody I can try to cooperate Sniper and ProGear reached exactly where is supposed to... I'm Brazilian too, but, honestly, they just said the truth. Only us, who are active since the first MTA:DayZ community, know why we are saying this. They just want everything ready in his hands, don't want to search for something (at least for a problem/solution), wants everything free (if you TRY to mention the word "buy", they just complain or offend you, talking shit about you), and the fact that they ALWAYS copy scripts or codes from another gamemodes or addons, and most times don't keeping the real credits. And in the community case, they just came using "Google Translate" and asking for the "decompiled" version, or the uncompiled version for free, creating topics and more topics about this, it's so annoying... I don't discard the "possibility" of Marwin and some other developers just abandoned the project, not only because of lack of time, but the "decompiled versions" too... To see that I'm not talking sh*t, just look the posts of Italo (in this forum). Of course the people here helped him (giving the desired code), but he says what he want and ask to fix for him, he doesn't even try to fix. Obviously there's exceptions, but mostly it's just like that.
  5. Like I said, I think he's talking about the "childish Brazilian scripters", because in the game and at the VaveGames community, the Brazilian scripters/users are always find a way to "f*ck" the mod, decompiling, putting thousands of mods and scripts, cheating or abusing admin powers, ruining the experience of the game and the community as itself. Obviously this isn't a "Brazilian" privilege, but as a Brazilian, I need to confirm that they are majority.
  6. Well, I can manage something like mta.dayz.com.br (for the domain, this can be changed at any moment), and setup something now, at least to show you something today. Everything (download plugin, donation system) is possible, I'm just concerned about the CMS Forum System we can use. I mean, IP.Board is paid, but we can use phpBB (like this forum), I just need to search about the plugins... I will search now. D:
  7. Hey Sniper, simstosh (or SimS™) from the old Vavegames community (I have the source files too, but let's say they are a little "outdated", because I just got the source from 0.5.6 version with Marwin but forgot to take before the forums goes off). Or, to be more "specific", with you (from ffs servers) one of the official community servers since dayz-mta.net forums I can help and, more than that, offer a forum ready service with a very specific domain for this "project". I own a forum about the DayZ Mod in my country (dayz.com.br). We already have a category about DayZ MTA created, but with some adjusts we can easily setup a specific section to talk about the MTA version... (Oh, almost forgot, I'm 21) I'm open to any talk, suggestions or something like that. I really want that this awesome project goes forward. OFF: And when you say "childish latin scripters", we all know you are talking specifically about us, Brazilians... But don't worry, this is completely true, there are many childish guys here that just f*cks everything they touch, since SA:MP and 2006+.
  8. Why don't u say this before u say me to debug the command? And now I found the real command (setPlayerName) on Wiki. I've searched for setPlayerName (a little obviously that's the function to change the name) but his name on wiki is SetPlayerName, not setPlayerName, and when I use the search, I haven't see the right command. Anyway, thanks.
  9. He debugs, but won't return any errors (and show the right values) I put this, like on Wiki local setname = getpname.." "..getsurname outputDebugString( "Nome = '"..setname.."'" ) if (setPlayerNametagText ( player, setname )) then outputDebugString( "Nick alterado! De '"..getname.."' para '"..setname.."'" ) end And the server returns this [13:13:55] INFO: Nome = 'Maneiro Broder' [13:13:55] INFO: Nick alterado! De '[FOTL]SimS' para 'Maneiro Broder' But the nick in-game isn't changed. I don't understand, because I've tried to create a local variable with getPlayerFromName, and using the name of the player to get the ID, but doesn't works. By the debug, u see that the setPlayerNametagText is running (cause the use of if), but the function aren't changing his name. And the fictional name I put space, underline, all together, tried to put only setPlayerNametagText ( player, "WhateverNick" ), tried to put only the getpname, and nothing works. This function isn't working anymore or it's just with me?
  10. I've already debugged. He won't return any errors (no errors on MTA Server and /debugscript 3 on game). He only maintains the player's nick the same. And player is the player ID, he isn't the problem, cause the same "player" value works to the other functions (return player account, set cj clothes, player money, etc.) Here is the entire function. function onPlayerLogged ( player ) local getname = getPlayerName ( player ) local account = getPlayerAccount ( player ) local getmoney = getAccountData ( account, "zmrp.money" ) local getzkills = getAccountData ( account, "zmrp.zkills" ) local getzbitten = getAccountData ( account, "zmrp.zbitten" ) local getmoney = getAccountData ( account, "zmrp.money" ) local getpname = getAccountData ( account, "zmrp.name" ) local getsurname = getAccountData ( account, "zmrp.surname" ) local shirt = getAccountData ( account, "zmrp.shirt" ) local head = getAccountData ( account, "zmrp.head" ) local pants = getAccountData ( account, "zmrp.pants" ) local shoes = getAccountData ( account, "zmrp.shoes" ) if ( account ) then --outputChatBox ( getteam, player, 255, 255, 0 ) -- Output they got the details wrong. givePlayerMoney ( player, getmoney ) setElementData ( player, "Zumbis mortos", getzkills ) setElementData ( player, "Vezes mordido", getzbitten ) setPlayerNametagText ( player, getpname.."_"..getsurname ) setElementModel ( player, 0 ) addPedClothes ( player, ShirtTextures[shirt], ShirtModels[shirt], 0 ) addPedClothes ( player, HeadTextures[head], HeadModels[head], 1 ) addPedClothes ( player, PantsTextures[pants], PantsModels[pants], 2 ) addPedClothes ( player, ShoesTextures[shoes], ShoesModels[shoes], 3 ) triggerEvent ("spawnincivilan", getRootElement(), player) end respawnPlayer(player) fadeCamera ( player, true, 3 ) setCameraTarget ( player, player ) triggerClientEvent ( player, "showHudLoggedIn", getRootElement() ) end addEvent( "onPlayerLogged", true ) addEventHandler ( "onPlayerLogged", getRootElement(), onPlayerLogged )
  11. simstosh

    Server Binds

    Yea, reading what SolidSnake14 says and what this guy says, I think is an advertisement what this guy wants
  12. Well, this is getting me a little busy. Tell me if this is wrong... An table go, from 0 to the maximum items u put, right? Ex.: from [0] to [67] (68 items on a table) I do a outputDebugString to show me what value is being setted by the buttons, cause the shirts aren't being setted right. But when I press the button to back, he goes one time forward, and the rest backward. If I press forward, it's the same, but on inverse, one time backward and the rest forawrd. Why this? My "operation" is wrong? Table with the texture/model names. ShirtTextures = {"player_torso", "vestblack", "vest"... ShirtModels = {"torso", "vest", "vest"... local ShirtType = 1 HeadTextures = {"player_face", "hairblond", "hairred"... HeadModels = {"head", "head", "head"... local HeadType = 1 PantsTextures = {"player_legs", "legsblack", "legsheart"... PantsModels = {"legs", "legs", "legs"... local PantsType = 1 ShoesTextures = {"foot", "bask2semi", "cowboyboot2"... ShoesModels = {"feet", "bask1", "biker"... local ShoesType = 1 Shirt button function example function btnShirtBefore ( button, state ) if (source == Class_ShirtBefore) then if(ShirtType == 0) then outputDebugString ( ShirtType.." Shirt ID" ) ShirtType = 0 addPedClothes ( localPlayer, ShirtTextures[shirtType], ShirtModels[shirtType], 0 ) else outputDebugString ( ShirtType.." Shirt ID" ) ShirtType = ShirtType-1 addPedClothes ( localPlayer, ShirtTextures[shirtType], ShirtModels[shirtType], 0 ) end end end addEventHandler ( "onClientGUIClick", Class_ShirtBefore, btnShirtBefore, false ) function btnShirtAfter ( button, state ) if (source == Class_ShirtAfter) then if(ShirtType == 67) then outputDebugString ( ShirtType.." Shirt ID" ) ShirtType = 67 addPedClothes ( localPlayer, ShirtTextures[shirtType], ShirtModels[shirtType], 0 ) else outputDebugString ( ShirtType.." Shirt ID" ) ShirtType = ShirtType+1 addPedClothes ( localPlayer, ShirtTextures[shirtType], ShirtModels[shirtType], 0 ) end end end addEventHandler ( "onClientGUIClick", Class_ShirtAfter, btnShirtAfter, false ) But he skips some pieces, and, like i've said, or he goes one backward and the rest forward, or one forward, and the rest backward. This is already making me sick. (If you want, I upload the lua file. The file contains only the GUI and the buttons code) EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT Woops, my mistake. The "numbers" problem it's my fault, I put the debug output before he does the "operation", so he output the wrong numbers. But the pieces aren't set right. I put the "underclothes" first, and he gets the "clothes first" (underclothes it's 0/1/2/3), but he starts with the right clothes, but when you press forward, he gets the underclothes, not the right clothes, and after this, not happens again. Why? EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT EDIT Sorry, Sorry, Sorry, i've fixed. The error is an additional "vest" that I put on the ShirtModels Table (Ok, when I do this, I was talking with a girl in MSN, so, understandable right? ) I have one more question... I put a field on the skin selection screen to the player put their fictional Name / Surname... But how can I put them to work? (The name is setted on sqlite db by a lua server script related to the character client script.) I try this (on the principal script / gamemode file) function onPlayerLogged ( player ) ... local account = getPlayerAccount ( player ) local getpname = getAccountData ( account, "zmrp.name" ) local getsurname = getAccountData ( account, "zmrp.surname" ) ... if ( account ) then setPlayerNametagText ( player, getpname.."_"..getsurname ) ... end Theorically, this should work, but isn't working. The problem isn't the function, because the same function is applying the clothes, money and other stats to the player. Any help?
  13. Yeah, i saw on lua wiki before post this (because I saw about the numbers using [#] method, not about text) And on php this method is called array, not table Too much language codes on my head haha Thanks for the help.
  14. One more question... Can I create a Array to put all textures/models names? I think it's more easy to do... Example: Just do HeadModels = {"a","b","c"}, and after this use only HeadModels[0], HeadModels[1], HeadModels[2]... ?
  15. Thanks, I will try. And as always, very helpful varez (And with the right names, I found on Offline Wiki )
  16. On my gamemode, I gonna put a GUI system to the player "customize" their CJ player. The GUI buttons and camera position is already finished, I only need to know how can I change the CJ clothes everytime when the specific player press the respective button (back 1, advance 1) And with Wiki Offline, I can't search the right function (cause Offline Wiki search function obviously don't work) Thanks so much
  17. Fixed. I've changed the dxDrawImage by guiCreateStaticImage. EDIT: FORGOT ALL WHAT I PUT HERE, HAVE FIXED But i'm getting other problem... I can't do a comparation to check if account exists, shows the Login's GUI, and if doesn't exists, shows the Register GUI... function onJoin ( ) local account = getPlayerAccount ( source ) if( account ) then triggerClientEvent ( source, "windowHandlerLogin", getRootElement() ) else triggerClientEvent ( source, "windowHandlerRegister", getRootElement() ) end end addEventHandler ( "onPlayerJoin", getRootElement(), onJoin ) I don't understand why doesn't work ._. He only show the Register GUI. Thanks
  18. DXdraw elements can't be set to relative? I haven't found on guieditor. (But GUI elements works, thanks again.)
  19. Thanks, almost finished. One more question, how can I adjust the gui that I've created to fit in almost all resolutions? (800x600 or better) I use 1440x900 by default on PC, so the menus works normal on this resolution, but in other resolution not. Login_Button = guiCreateButton(240,817,90,29,"Logar >>",false) Login_LLabel = guiCreateLabel(108,750,39,15,"Login:",false) guiLabelSetColor(Login_LLabel,0,0,0) guiLabelSetVerticalAlign(Login_LLabel,"top") guiLabelSetHorizontalAlign(Login_LLabel,"right",false) guiSetFont(Login_LLabel,"default-bold-small") Login_SLabel = guiCreateLabel(108,788,39,15,"Senha:",false) guiLabelSetColor(Login_SLabel,0,0,0) guiLabelSetVerticalAlign(Login_SLabel,"top") guiLabelSetHorizontalAlign(Login_SLabel,"right",false) guiSetFont(Login_SLabel,"default-bold-small") Login_LBox = guiCreateEdit(151,744,179,28,"",false) Login_SBox = guiCreateEdit(151,779,179,28,"",false) function zmrplogo() dxDrawImage(0, 334, 497, 562,"images/zmrpfinal.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) end addEventHandler("onClientRender", getRootElement(), zmrplogo) /\ This is the gui menu (dxImage + gui functions) what I'm talking about. Oh, I almost forgot, he's positioned on the bottom left corner of the monitor.
  20. @SolidSnake14 I've already do this, thanks anyway. @varez I'm gonna try, thanks to help. How can I remove a dxDrawImage? Example: I do a menu and some items by the guiEditor, and added a dxDrawImage -- Direct X Drawing addEventHandler("onClientRender",root, function() dxDrawImage(0.0,337.0,497.0,562.0,"images/zmrpfinal.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) end ) What I need to do to "remove" the dxDrawImage?
  21. Some example to help me? I've searched on wiki, but haven't understand so much EDIT: Oh, and about the "setPedLookAt", other way to change the player rotation? EDIT²: Used setPedRotation and works.
  22. I've searched but haven't find. Some way to do a "safezone" without zombies spawning next to this local?
  23. How can I do a moving camera? I Want to do a intro moving camera after a player login/register. When a player login / register, the camera moves to an direction and ends on a fade to black, and fade to normal after 2 seconds. And using the same topic, how can I set to a player look to a point? I tried setPedLookAt but he saw that's a nil value on console. The code is server-side and player = source setPedLookAt ( player, -688.55078125, 935.2333984375, 13.6328125 )
  24. How can I create a Rectangle area to detect where player is? Example: I create an rectangle area involving all Las Venturas (A point on top and a point on bottom), and if a player dies on this place, he respawns on a specific hospital. I want to create various areas by the San Andreas map to the player respawn on a specific hospital, depending of his position (located area). Thanks
  25. This base isn't mine, I get only from the LSAN resource (but works)... The "cylinder" I only tried to use him, but doesn't change (maybe because I haven't put the "") And the Marker Targets are for check if the player is in a marker (GetMarkerTarget) and compare with the player pos, to show the menu. Basically, the script works, only the markers won't show because the dimensions are different.
×
×
  • Create New...