System Talkative! Chat System

quraji

zap
Reaction score
144
No one can think of anything to add to this? Hmmm!

I don't play the game enough to know what's needed, so help me out! :thup:
 

Hatebreeder

So many apples
Reaction score
381
Guess Ownage is right ^^
Guess you could use the Picture function types to do that =)
Problem is, you would need pictures of different smileys...
 

quraji

zap
Reaction score
144
I just want the system to be pasted into the map and forgot about, so I'd rather avoid extras :)

I may upload soon a more organized version of the code so that JASS'ers can more easily edit the functions to do different things. As of now it's a bit messy/confusing.

Other than that I don't plan on releasing another version (for lack of things to add).

If you have a suggestion please post it. Also, I may be able to help with specific requests (things I wouldn't add to the system, but an edit to your version), or something like that.

Thanks :thup:
 

quraji

zap
Reaction score
144
Bump.

If anyone wants to get on B.net and chat with me using this, that would be tops...I need a better screenshot (and you could post about how awesome it is *wink*).
 

quraji

zap
Reaction score
144
I have plans for updating this with added features, functionality and customization. Plus, speech stylizers (such as activating a pirate-speech style, so you talk like a pirate :thup:). This is only if at least a few people show some interest in it.

So, post about how much you love this, and how much you want an awesome update! (Do it.)
 

black.sheep

Active Member
Reaction score
24
This looks good (I made my own GUI version however, for my demo map, so I could get cred for it)
Anyway, could you make a killer voice chat? Like in Phase Killer or Parasite 2? Or a option for mimicing other people?
 

dannyboydude

Ultra Cool Member
Reaction score
33
Hey i only just noticed but ...

WHats up with this
JASS:
globals        
        private string array PlayerColours [12]
        private <b><u>boolarray</u></b> array SquelchList [12]
        private boolean array AllyChatOn [12]
        private boolean array UnitChatOn [12]
    endglobals



the [boolarray] lol im sure thats not a type of variable
 

Artificial

Without Intelligence
Reaction score
326
@Dannyboydude
Just above that globals block:
JASS:
type boolarray extends boolean array [12]
So boolarray is a dynamic array, which are usable as variable types just like structs are. :p
 

quraji

zap
Reaction score
144
This looks good (I made my own GUI version however, for my demo map, so I could get cred for it)

Credit for what?

Hey i only just noticed but ...

WHats up with this
JASS:
globals        
        private string array PlayerColours [12]
        private <b><u>boolarray</u></b> array SquelchList [12]
        private boolean array AllyChatOn [12]
        private boolean array UnitChatOn [12]
    endglobals



the [boolarray] lol im sure thats not a type of variable

It's a custom type:
Code:
    type boolarray extends boolean array [12]

I defined a boolarray as an array of boolean arrays...so like a boolean grid. It's easier to keep track of squelched players (since I need a boolean for each player, per player :p)


Updated with a screenshot from the newest version..the last screenshot was lame.
 

SerraAvenger

Cuz I can
Reaction score
234
Really awesome, but...
JASS:
function String2File takes string insertstring returns helpfile
    local integer index = 0
    local integer depth = 0
    local integer length = StringLength( insertstring )
    local integer matches = helpfiles
    local integer matchindex
    local helpfile array match
    local string curChar 
    set insertstring = StringCase( insertstring, false )
    loop
        exitwhen index == matches
        set match[ index ] = SortedFile[ index ]
        set index = index + 1
    endloop
    loop
        exitwhen depth &gt; length
        exitwhen matches &lt;= 1
        set index = 0
        set curChar = SubString( insertstring, depth, depth + 1 )
        loop
            exitwhen index &gt;= matches
            if SubString( match[ index ].comparename, depth, depth + 1 ) != curChar then
                set matches = matches - 1
                set matchindex = index
                loop
                    exitwhen matchindex &gt;= matches
                    set match[ matchindex ] = match[ matchindex + 1 ]
                    set matchindex = matchindex + 1
                endloop
            endif
            set index = index + 1
        endloop
        set depth = depth + 1
    endloop
    return match[ 0 ]
    //return BASE        
endfunction
 

lbebusiness

New Member
Reaction score
3
For sake of usability

I know its discontinued but "Code retained for historical reasons (take what you want)"
I was only able to use the code when I added what I think was a missing "type". Jass helper kept throwing me a type error untill I added this:

Original:
JASS:
    type boolarray_ar extends boolarray [12]


Fixed:
JASS:
    type boolarray_ar extends boolarray array [12]


also may I ask why it was discontinued?
 

quraji

zap
Reaction score
144
>>type error

Might have been my error, or possibly a syntax change.

>>may I ask why

Sloppy, buggy, etc.

Limited usability and usefulness.

Frankly, I was surprised to see the thread again. If you are actually interested I might do a revised version.
 

lbebusiness

New Member
Reaction score
3
Well I mistakenly thought this was a floating text that follows over unit. But since I did get it to work I like the squelch (which is rather redundant at the moment I'll explain why in a min) feature and just because its different. I want you to take a look at the map. I'll be hosting it for some good testing and ideas today.

Btw I wasn't able to log in to change my last post therefore its missing A LOT of information. I will post it here:

So I started to delete whatever came up with an error in this order:
Had to delete :
JASS:
       set SquelchList = boolarray_ar.create()

Error:
boolarray_ar is not of a type that allows . syntax

Had to delete :
JASS:
         exitwhen i == boolarray_ar.size()


Now at this point the loop that this piece of code was in was now useless SO I deleted the entire loop but just to keep showing the errors in order I didn't delete the loop but continued to delete errors that came up in order as I tried to save the map. (This is when squelch became redundant because that loop is what ran it. lol)

Had to delete:
JASS:
             exitwhen j == boolarray.size()


Error : size is not a methood

Had to change:
JASS:
    type boolarray_ar extends boolarray [12]


To:
JASS:
    type boolarray_ar extends boolarray  array [12]


Error:
A bunch of them but all about the same line. main error was:
Undefined type boolarray

At this point the map will save and will run without error in warcraft III.


Okay that was what I did to make it work with my map. Basicly remove squelch...something wrong with the whole array thing.
 

quraji

zap
Reaction score
144
My code must have been written with an older version of JassHelper syntax. I can update it.
 

Romek

Super Moderator
Reaction score
964
Well, I'm going to graveyard this.
It isn't continued any more (first post), and the current version doesn't work with the newest JassHelper.
 

lbebusiness

New Member
Reaction score
3
Resurrected from the grave!!!

Well why thank you! :p lol. but yea great system! the only thing not working was the squelch arrays (am I correct? semi newb taking a good guess)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top