balliztik1
Members-
Posts
2052 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Calendar
Everything posted by balliztik1
-
Change the start location in the classes .ini files. As for flags, you can make one yourself using the GetVar and PutVar commands.
-
Yeah, forms would be a pain, but adding new commands and such wouldn't be that hard, once you have a compiler.
-
Can someone tell me why this script isnt working?
balliztik1 replied to monowolf00's topic in Programming Questions
_That's what I'm here for…I guess._ Actually, that's improper English. Ending a sentence with a preposition. Tsk tsk, Balliztik. Here's how it should be written, silly: _That's for what I'm here…I guess._ Ah, contemporary writing, Balliztik. Don't forget. Only Shakespeare would say "what for" and "for what" and such. Here we go: _That's why I'm here…I guess._ -
Can someone tell me why this script isnt working?
balliztik1 replied to monowolf00's topic in Programming Questions
"Spell " & index You need a space within the quotation marks. -
Can someone tell me why this script isnt working?
balliztik1 replied to monowolf00's topic in Programming Questions
Bleh, sorry that I didn't explain. Just busy right now. I added indices to the functions and sent some values. -
Can someone tell me why this script isnt working?
balliztik1 replied to monowolf00's topic in Programming Questions
``` Case 1 If GetPlayerMP(index) >= 10 Then Call SetPlayerStr(index, GetPlayerStr(index) + 20) Call SetPlayerDef(index, GetPlayerDef(index) - 10) Call SetPlayerMagi(index, GetPlayerMagi(index) - 10) Call SetPlayerMP(index, GetPlayerMP(index) - 10) Call SendStats(index) Call SendMP(index) End If ``` -
Nopes. OnArrowHit controls bows. There's no sub for magic, though. There should be. It'd make for some sweet element systems.
-
@Blister: > Ahhhh I already wondered whats the difference between end sub and exit sub. > I hope it'll work this time :cheesy: Thank you for your patience ;) > > EDIT: > hmm… thats weird.. > There's still no sound but the funny thing is every other text commands do not work also oO theres no error message but nothing happens. but in my server panel scripts are turned on oO Your main.txt is bugged somewhere, then. Post it or PM it to me, and I can fix it up real quick.
-
Emoobz the Game! dun dunn DUNnNnNn. . . . New :Dock setting pic:
balliztik1 replied to TT Snim's topic in Discussion
@Elder: > Balliztik, get a coconut bra, take a picture and post it. Do it now. Otherwise Emoobz is over. Ahh! Ahh! I don't want to be responsible for that! -
No, you wouldn't. The OnAttack sub has a damage parameter. You can still use that to get the damage that the player would deal.
-
Emoobz the Game! dun dunn DUNnNnNn. . . . New :Dock setting pic:
balliztik1 replied to TT Snim's topic in Discussion
*puts on coconut bra* This good? :cheesy: -
Emoobz the Game! dun dunn DUNnNnNn. . . . New :Dock setting pic:
balliztik1 replied to TT Snim's topic in Discussion
@Klanz_online: > but we need some mappers,scripters ,and cheerleaders. I knowz how to make a script a little bit. You will have me? Also, I make decent cheerleader. -
Yeah, just pick a script trigger to start with, and start adding stuff in there. Make a backup, then if the script doesn't work, take a look at what you may have done wrong, go back and try to fix it, etc. If you're computer-minded, it shouldn't take long before you start realizing patterns to the scripts and what needs to be done. Other good things to pay attention to are the scripts of others. Go check out the script database and try to see if you can make sense of some of the things people are scripting. Pay attention to the way they use certain commands and try to use those commands yourself.
-
Yeah, the player just sits there while the video plays. Unsure about the other questions.
-
You might also consider: ``` PlaySoundToMap(index, "sound_name.wav") ``` That way, others will hear the sound on the map as well.
-
Still learning, couple questions…
balliztik1 replied to Hazard153-1's topic in Programming Questions
``` Sub MapSound(Map, Sound) For x = 1 to GetVar("data.ini", "Max", "MAX_PLAYERS") If IsPlaying(x) and Map = GetPlayerMap(x) Then Call PlaySound(x, Sound) End If Next End Sub ``` Try throwing that at the bottom of your main.txt and using it instead of PlaySoundToMap. Temp fix, but should work. As for death.wav, I have no idea why that isn't working. It looks good. Like you said, the file is in the right folder, so it should work…The only thing I might suggest is to make sure you've reloaded the scripts. EDIT: A quick look through the source may have illuminated the PlaySoundToMap problem for me. It uses index as the first parameter, not the map (personally, I'd never have done it that way). Not sure if you were using **PlaySoundToMap(GetPlayermap(index), "monsterdie.wav")**, but if you were, just try **PlaySoundToMap(index, "monsterdie.wav")** -
> Call PutVar("\Scripts\skill\" & GetPlayerName(index) &".ini", "Prayer", "XP", GetVar("\Scripts\skill\" & GetPlayerName(index) &".ini", "Prayer", "XP") + 5) You'll have to use GetVar to get the same value. It seems redundant, but it's how it has to be done. Alternatively, if you don't like the way this looks, you can do something like this: > Value = GetVar("\Scripts\skill\" & GetPlayerName(index) &".ini", "Prayer", "XP") + 5 > Call PutVar("\Scripts\skill\" & GetPlayerName(index) &".ini", "Prayer", "XP", Value)
-
Yeah, you'll need the OnServerLoad subs, etc, so that when those events do fire, it can register the right variables.
-
What would you post count be if Chit Chat and Games counted?
balliztik1 replied to a topic in Off Topic
Profile -> Last Posts of this person -> Go to last page, scroll to bottom, and look for the post count in the corner -
What would you post count be if Chit Chat and Games counted?
balliztik1 replied to a topic in Off Topic
2297 I do most mah business on SRS turf. -
The mains aren't indentical. There are a couple subs in 2.7 that play bigger roles than they did in previous versions. OnAttack is one of them. Make sure to keep 2.7's OnAttack, OnArrowHit, PlayerHit, and HotScript subs. All the rest is replacable. So, take those subs from 2.7's main, copy them to your old one, and it should work just fine. Also, make sure to copy over the global declares at the beginning of 2.7's main, which includes OnServerLoad, OnScriptReload, and ChangeMOTD. I really don't like the setup of the new default Commands sub, personally. Many slash-commands in the database won't work with it, as they use spaces in the command title. The old one was fine. Splitting the text is handy, but not for every command. Besides, newbs to scripting won't know how to convert over. It removes the ease of the "copy and paste" commands.
-
Rally's/Checker's It'll kill ya with all the grease, but it's damn good.
-
Wow. I really like the style they're going for. The cartoony feel really looks good for this. Not big on FPS games though. I might give it a try sometime.
-
Try using Cstr(slot). PutVar is expecting a string value as the fourth parameter, and though you didn't specify slot as string, it is a numeric value, and it can't hurt to try.
-
You have two End Ifs but only one If-statement. Also, you're calling the PutVar command wrong. ``` Call PutVar("Accounts\" & GetPlayerLogin(index) & ".ini", "STATUS", "1") ```